You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
659 B

3 weeks ago
  1. DOCKER_IMAGE=gsw_ai_lab
  2. IMAGE_VERSION=latest
  3. CONTAINER_NAME=tempestpy_jupyter
  4. NOTEBOOK_DIR=./notebooks
  5. CONTAINER_NOTEBOOK_DIR=/opt/notebooks
  6. LOGRESULTS_DIR=./logresults
  7. CONTAINER_LOGRESULTS_DIR=/opt/logresults
  8. MINIGRID_DIR=./notebooks/environments/Minigrid
  9. CONTAINER_MINIGRID_DIR=/opt/Minigrid
  10. sudo docker run \
  11. --name "$CONTAINER_NAME" \
  12. --mount "type=bind,src=$NOTEBOOK_DIR,dst=$CONTAINER_NOTEBOOK_DIR" \
  13. --mount "type=bind,src=$LOGRESULTS_DIR,dst=$CONTAINER_LOGRESULTS_DIR" \
  14. --mount "type=bind,src=$MINIGRID_DIR,dst=$CONTAINER_MINIGRID_DIR" \
  15. --rm \
  16. -p "6006:6006" \
  17. -p "8888:8888" \
  18. --shm-size=4.86gb \
  19. --entrypoint sh \
  20. "$DOCKER_IMAGE:$IMAGE_VERSION"