Skip to content

Docker build on an raw Ubuntu Machine on Microsoft Azure

Renan Xavier Cortes edited this page Aug 1, 2019 · 8 revisions

Step 1:

Installed docker following https://phoenixnap.com/kb/how-to-install-docker-on-ubuntu-18-04

Step 2:

git clone https://github.com/spatialucr/geosnap.git

Navigate inside geosnap directory.

Step 3:

sudo apt-get install build-essential

Now you can use the 'make' command.

Step 4:

sudo make container

Step 5:

Add the user of the image (jovyan) to the 'docker' group: https://techoverflow.net/2017/03/01/solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/

This step is necessary since otherwise only the repo works would appear.

Needs to log out and log in in the Virtual Machine.

Step 6:

make cli
python
import geosnap