can check what's going on in containers using below commands
Testing:
----------
docker container top
: process list in one containerdocker container inspect
: details of one container config in json(old: docker inspect)docker container stats
: performace stats for all containers.live performance of all containers if id not specified.(old: docker stats)Testing:
----------
docker container run -d --name nginx nginx
docker container run -d --name mysql -e MYSQL_RANDOM_ROOT_PASSWORD=true mysql
docker container ls
docker container top mysql
: to show processes running inside the container:mysql.
No comments:
Post a Comment