Login
Discover
Waves
Communities
Login
Signup
running bash in a docker
running bash in a docker
fortunex
(42)
Published in
#docker
Words
0
Reading
0 min
Listen
Play
2018-01-21 21:08
The docker conainer may be in the background
docker exec /bin/bash ---> this doesn't work
The right command is:
docker exec -i -t 8479103adbe2 /bin/bash
where 8479103adbe2 is the image id.
Read next
PostgreSQL Backup System for Docker with S3 and Slack
OPENHAB in PILLOLE: 61. DOCKER e la CONSOLE - Accesso facile anche senza il comando openhab-cli / DOCKER and the CONSOLE - Easy access even without the openhab-cli command ITA ENG
Learn Ethical Hacking (#37) - Container Security - Docker and Kubernetes Attacks
Show 3 comments