Before you start this section, go ahead and install docker. You can follow this official guide for that.
xhost +localhost
To be able to use X forwarding on Mac OS:
- 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
and now, the X server should be all set in docker (in the regular terminal).
Install Xming and use Xlaunch:
- Multiple Windows, Display number: 0
Start no client
- IMPORTANT: Check
No Access Control
- You can save this configuration to re-launch easily, then click finish.
Docker image of Concrete-Numpy is based on another docker image provided by the compiler team. Once you have access to this repository you should be able to launch the commands to build the dev docker image with make docker_build
.
Upon joining to the team, you need to log in using the following command:
docker login ghcr.io
This command will ask for a username and a password. For username, just enter your GitHub username. For password, you should create a personal access token from here selecting read:packages
permission. Just paste the generated access token as your password, and you are good to go.
Once you do that, you can get inside the docker environment using the following command:
make docker_build_and_start
# or equivalently but shorter
make docker_bas
After you finish your work, you can leave the docker by using the exit
command or by pressing CTRL + D
.