forked from maricaantonacci/docker-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abfa5b1
commit 76bba80
Showing
9 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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 |