Python-Docker (How to control docker images/containers through coding) - Part1

preview_player
Показать описание
This part explains

1. How to extarct image details
2. How to extract container details
3. How to stop/start/restart/remove any container
4. How to pull image
5. How to run any container


Used Commands -
docker run --name first-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres:latest
docker run --name first-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest
docker ps
docker ps -a
docker images
Рекомендации по теме
Комментарии
Автор

I have 2 containers when I am executing the start container command only one container is started not the second one can you help me with this issue

uroobashahid
visit shbcf.ru