Difference between revisions of "GDL/9.0/Deployment/Access Docker Container"
From Genesys Documentation
(Published) |
|||
Line 5: | Line 5: | ||
|Context=Accessing Docker Container | |Context=Accessing Docker Container | ||
|Section={{Section | |Section={{Section | ||
− | | | + | |Standalone=No |
− | | | + | |ComingSoon=No |
+ | |Status=No | ||
+ | |alignment=Vertical | ||
+ | |structuredtext=To access within Docker container, use the following commands. | ||
# Change the directory of command prompt in CentOS/7 to <code>/Shared</code> | # Change the directory of command prompt in CentOS/7 to <code>/Shared</code> | ||
# Change the directory of command prompt to <code>/var/lib/docker/volumes</code> | # Change the directory of command prompt to <code>/var/lib/docker/volumes</code> |
Revision as of 13:38, January 17, 2020
Accessing Docker Container
To access within Docker container, use the following commands.
- Change the directory of command prompt in CentOS/7 to
/Shared
- Change the directory of command prompt to
/var/lib/docker/volumes
docker exec -it (docker image name) /bin/bash
- For example:
docker exec -it shared_kafka-3_1 /bin/bash
- For example:
ps -efw |grep -i kafka
top
It can be used to check the CPU memory and RAM usage of Docker containers at any instance of time.
Comments or questions about this documentation? Contact us for support!