follow instructions https://store.docker.com/search?offering=community&operating_system=linux&q=&type=edition
add user to docker usergroup
sudo usermod -a -G docker {linux_user}
- restart the VM with a full shutdown (or else permissions will still be denied when using docker commands)
-
download to tmp folder
curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-Linux-x86_64 > /tmp/docker-compose
-
make it executable
chmod +x {docker-compose}
-
move it to /usr/local/bin/ (you normally can't write to that path, which is why it was written under the /tmp folder)
sudo mv docker-compose /usr/local/bin
-
check if successful
docker-compose --version
-
(while running) Windows terminal script to run when VM instance sleeps, wakes up, and can't connect to network. programmatically sets the network to none, and then bridge, while the VM instance is running. "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "{vm_instance_name}" nic1 null "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "{vm_instance_name}" nic1 bridged "Intel(R) Dual Band Wireless-AC 8260"
Docker Images Instances
docker pull neo4j
IF docker hangs and kills the network functionality
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
docker -d
- list
docker ps
- create container
- start container
- stop container
- destroy container