Skip to content

Commit

Permalink
New ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyzt authored Apr 30, 2024
1 parent 9c8c5b4 commit 4e9c504
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If your DESI data is locally hosted at `local_data_path`, then enter this comman
docker run -it -p 8888:8888 -e DESI_RELEASE=edr \
--volume "$(pwd):/home/synced" \
--volume "local_data_path:/home/desidata:ro" \
ghcr.io/flyorboom/desi-docker:main
ghcr.io/desihub/desidocker:main
```
* If you want to give the Docker container write access to your data release, then remove the `:ro` at the end of the flag.

Expand All @@ -59,7 +59,7 @@ Otherwise, to access the DESI data hosted at AWS S3, then enter this command ins
docker run -it -p 8888:8888 -e DESI_RELEASE=edr \
--volume "$(pwd):/home/synced" \
--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined \
ghcr.io/flyorboom/desi-docker:main
ghcr.io/desihub/desidocker:main
```
* Note that mounting the S3 bucket as a local filesystem [requires](https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities)
granting the container sysadmin-level access to your computer's [FUSE](https://en.wikipedia.org/wiki/Filesystem_in_Userspace) interface.
Expand Down Expand Up @@ -163,7 +163,7 @@ Finally, run this shell command to download and run the image.
docker run -it -p 8888:8888 -e DESI_RELEASE=edr \
--volume "$(pwd):/home/synced" \
--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined \
ghcr.io/flyorboom/desi-docker:main
ghcr.io/desihub/desidocker:main
```
* If you encounter an `unknown server OS` error, you may need to restart Docker.

Expand All @@ -181,14 +181,14 @@ Replace `127.0.0.1` with the public IP address of your cloud server, then open t
with the absolute path to the custom folder in the `--volume "$(pwd):/home/synced"` flag.
* To build the image from source (requires some patience), enter the command
```bash
docker build github.com/flyorboom/desi-docker.git --tag desi-docker
docker build github.com/desihub/desidocker.git --tag desi-docker
```
Then, replace the tag `ghcr.io/flyorboom/desi-docker:main` with `desi-docker` when running the image.
Then, replace the tag `ghcr.io/desihub/desidocker:main` with `desi-docker` when running the image.


## Updating the Docker image

To update your Docker image, run
```bash
docker pull ghcr.io/flyorboom/desi-docker:main
docker pull ghcr.io/desihub/desidocker:main
```

0 comments on commit 4e9c504

Please sign in to comment.