Advertisement
obernardovieira

Bash on docker container

Feb 28th, 2017
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. $ sudo docker exec -i -t 665b4a1e17b6 /bin/bash #by ID
  2. or
  3. $ sudo docker exec -i -t loving_heisenberg /bin/bash #by Name
  4. $ root@665b4a1e17b6:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement