Skip to content

Commit

Permalink
Add portainer
Browse files Browse the repository at this point in the history
  • Loading branch information
maricaantonacci committed Jun 14, 2021
1 parent abfa5b1 commit 76bba80
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 1 deletion.
Binary file added docs/gui/images/portainer_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_2a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gui/images/portainer_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions docs/gui/portainer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Portainer is a lightweight management UI which allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters).
Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine.

## Installation

```bash
docker volume create portainer_data
```

```bash
docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
```

## Usage

The UI will be exposed on port `9000` and you will be asked to create the initial administrator setting a password:

![](images/portainer_1.png)

Then choose to manage the local Docker environment and click on Connect:

![](images/portainer_2.png)

If everything works as expected, You will then be shown the Portainer home page:

![](images/portainer_2a.png)

In the menu clicking on `Dashboard` will open a summary view of your docker engine:

![](images/portainer_3.png)

Clicking on `Containers` will allow you to manage containers:

![](images/portainer_4.png)

Then click on one running container to get the container status and menu from which you can see the log and statistics:

![](images/portainer_5.png)

![](images/portainer_6.png)

!!! question "Exercise"
Now go back to the `Containers` page and try to add a new container.
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Docker Tutorial
site_name: Docker Tutorial - part 1
repo_url: https://github.com/maricaantonacci/docker-tutorial
site_author: Marica Antonacci - [email protected]
theme:
Expand Down Expand Up @@ -39,6 +39,8 @@ nav:
- Docker volumes and bind-mounts: 'container/volumes.md'
- Docker volume plugins - an example: 'container/volume_plugin.md'
- Summary: 'container/volume_summary.md'
- Docker web UI:
- Portainer: 'gui/portainer.md'


copyright: Copyright © 2021 INFN

0 comments on commit 76bba80

Please sign in to comment.