Replying to Avatar Settebello

### Prerequisite

1. [Installing Ubuntu Server](https://habla.news/u/0xjogir@nostrplebs.com/dAEcxFC4zBUN7ciTJLPZa)

2. [Installing Docker on Linux Server](https://habla.news/u/0xjogir@nostrplebs.com/917064)

### Installation

Open a Terminal session and write the following command to make sure that Docker is running:

```ruby

sudo systemctl status docker

```

You should get a screen with the docker.service as "running". To get back to command line do CTRL+C

Then, create the volume that Portainer Server will use to store its database:

```ruby

sudo docker volume create portainer_data

```

You are now ready for the on-liner installation:

```ruby

sudo docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

```

To validate the installer, prompt the following command:

```ruby

sudo docker ps

```

You should see Portainer's container running.

To access Portainer Server, go to the following adress:

https://localhost:9443

Et voila!

Dope.

Reply to this note

Please Login to reply.

Discussion

No replies yet.