To explore Docker container management and deploy Portainer for GUI-based container orchestration and monitoring.
Command: docker ps
Docker engine was verified to be running successfully.
Commands: kubectl config get-contexts kubectl config current-context
The active Kubernetes context was verified.
Command: docker volume create portainer_data
A persistent volume was created to store Portainer data.
Command: 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:lts
Portainer container was successfully deployed.
Command: docker ps
The Portainer container was verified to be running with exposed ports.
URL: https://localhost:9443
Browser security warning was bypassed due to self-signed certificate.
Observed:
This practical demonstrated Docker container management and GUI-based orchestration using Portainer. It highlights how Portainer simplifies container operations and provides a visual interface for managing Docker environments efficiently.