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

A year from now you’ll wish you started today — Karen Lamb

LinkedIn ·  Twitter ·  Github

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!