portainer
| Bash | |
|---|---|
Then you can visit the Portainer Web UI at https://localhost:9443/. Login with username admin and password changeme.
To generate the hash value for the --admin-password CLI argument I used the following command:
| Bash | |
|---|---|
The debian01 container is just a sample Debian container.
Podman
To make this work with Podman you'll need to:
- Enable and start the Podman socket with
systemctl enable --now podman.socket - In the
docker-compose.ymlfile, prependdocker.io/to the image names (e.g.docker.io/portainer/portainer-ce) - In the
docker-compose.ymlfile, change thedocker.sockvolume mount line to point to the Podman socket on the host. You can use thesystemctl status podman.socket | grep 'Listen:'command to get the right socket path
If you want to run the Podman socket as non-root user, add the --user switch to the systemctl commands above.
Then:
| Bash | |
|---|---|