- Build the Docker image:
docker build -t <__your_image_name__>- Launch Portainer:
docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer- Login to Portainer: Access the Portainer web interface by navigating to
http://localhost:9000in your favorite web browser. Then login using default credentails (username:adminand password:admin) - Create a new container:
- Now, you can simply start the container
- Done, thus you can manage your docker image and container in Portainer ✅
