On my Mac, I’m trying to learn linux by using a running docker container. I’ve run this:
john1@MacBook-Pro:~/geek$ docker run -it ubuntu:latest /bin/bash root@4eaf9eb119b8:/#
So in this ubuntu container, I want to do various stuff such as installing nginx and make a web service, etc. I’m doing this mainly to learn linux and web development.
But, the painful thing I realized is that this container does not even have some of the most basic linux commands available. Even commands like
vi is missing.
Of course I can install
sudo by going through some trouble, e.g.
apt-get update && apt-get -y install sudo
But I think this is unnecessarily stupid and I want to know if there is a good linux image in docker that contains the full toolkit and is ready to use for education purpose?