Linux Server - JohnnyFoulds/firstrepo GitHub Wiki

This is some general reference for setting up a Ubuntu Linux machine for remote access for working on Docker containers.

Update

$ sudo apt-get update

VMWare Tools

$ sudo apt-get install open-vm-tools
$ sudo apt-get install open-vm-tools-desktop

Configure SSH

$ sudo apt-get install openssh-server
$ sudo systemctl enable ssh
$ sudo systemctl start ssh

Install Docker

$ sudo apt-get install docker.io
$ sudo systemctl enable docker
$ sudo systemctl start docker
$ docker --version

Docker without sudo

This command will allow you to run docker without sudo.

sudo gpasswd -a $USER docker

Web References