1. How to access logs of the container from the host. – Run the below command:
docker logs – f –tail 10 [name of container]
2. How to see running containers. Run command
docker ps
3. How to get inside the container.
docker exec -it {name of container } bash
4. Restart container:
docker restart {container name}
5. docker: Error response from daemon: driver failed programming external connectivity on
endpoint webserver ---- need to enable firewall and then restart the container
6. docker daemon not running (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?) ---- systemctl restart docker
7.For executing a command on the container with root user: docker exec -itu 0 container-name bash
If you have any questions, drop us an email at support@rchilli.com.
Comments
0 comments
Please sign in to leave a comment.