mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
chore: Move to the mono repo layout
This commit is contained in:
45
frontends/concrete-python/docs/dev/docker.md
Normal file
45
frontends/concrete-python/docs/dev/docker.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Docker Setup
|
||||
|
||||
## Installation
|
||||
|
||||
Before you start this section, go ahead and install Docker. You can follow [this](https://docs.docker.com/engine/install/) official guide if you need help.
|
||||
|
||||
## X forwarding
|
||||
|
||||
### Linux.
|
||||
|
||||
You can use this xhost command:
|
||||
|
||||
```shell
|
||||
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:
|
||||
|
||||
```shell
|
||||
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:
|
||||
|
||||
```shell
|
||||
make docker_build
|
||||
```
|
||||
|
||||
## Starting
|
||||
|
||||
You can use the dedicated target in the makefile to start the docker session:
|
||||
|
||||
```shell
|
||||
make docker_start
|
||||
```
|
||||
Reference in New Issue
Block a user