Jan Carlo Viray React · Angular · Node · SQL · Cloud · Entrepreneurship

Portfolio ·  LinkedIn ·  Twitter ·  Stack Overflow ·  Github ·  Contact Me

Run Terminal in Docker

docker run -i -t ubuntu:latest /bin/bash

-i flag tells docker to connect to STDIN on the container -t flag specifies to get a pseudo-terminal

note that you need to run a terminal process as your command (i.e.: /bin/bash)

If you have any questions or comments, please post them below. If you liked this post, you can share it with your followers or follow me on Twitter!