4. Docker: Run container

Do docker image ls to show existing images

REPOSITORY                                   TAG                 IMAGE ID            CREATED             SIZE
bot_bot                                      latest              a8b6ad72ed2a        6 days ago          88.5 MB

Run container with name bot_bot1 from image bot_bot with -d (detach)

docker run --name bot_bot1 -itd bot_bot

docker run -p 8080:8080 --name kafka-ui-my -itd kafka-ui-my
docker run -p 80:80 --name mfshell -itd mfshell

Last updated

Was this helpful?