Docker Setup Ubuntu

Docker is very simple to setup.

wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker $(whoami)
whoami
sudo apt-get -y install python-pip
sudo pip install docker-compose

 

If you are running apache httpd inside container on port 80 and other people in the same network want to access it you should do the following:
docker run -d -p 80:80 apache

Leave a Reply

Your email address will not be published. Required fields are marked *