Docker Setup

Installation

Before you start this section, go ahead and install Docker. You can follow this official guide if you need help.

X forwarding

Linux.

You can use this xhost command:

xhost +localhost

macOS.

To use X forwarding on macOS:

  • Install XQuartz

  • Open XQuartz.app application, make sure in the application parameters that authorize network connections are set (currently in the Security settings)

  • Open a new terminal within XQuartz.app and type:

xhost +127.0.0.1

X server should be all set for Docker in the regular terminal.

Building

You can use the dedicated target in the makefile to build the docker image:

make docker_build

Starting

You can use the dedicated target in the makefile to start the docker session:

make docker_start

Last updated