Home_Icon Learning Center Home

Advanced Installation of Docker

Docker-Compose Install

  1. For instances without Anaconda install pip

sudo wget https://bootstrap.pypa.io/get-pip.py

sudo python3 get-pip.py

  1. For instances with Anaconda (ezj) change ownership of /opt/anaconda3

On Atmosphere: sudo chown ${USER}:iplant-everyone /opt/anaconda3/ -R

On Jetstream: sudo chown ${USER}:root /opt/anaconda3/ -R

  1. Install Docker-Compose
sudo pip3 install docker-compose

Running Docker without sudo

  1. Check for and add the group docker (note: docker group should already exist)
groupadd docker
  1. Add user to group
sudo usermod -aG docker $USER
  1. Close Terminal and reopen
  2. Test Docker without sudo
docker run hello-world

Fix or improve this documentation

Home_Icon Learning Center Home