Difference between revisions of "GDL/9.0/Deployment/Access Docker Container"
From Genesys Documentation
(Published) |
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|Standalone=No | |Standalone=No | ||
|DisplayName=Access Docker Container | |DisplayName=Access Docker Container | ||
+ | |Platform=GenesysEngage-cloud | ||
|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> |
Latest revision as of 02:30, July 25, 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!