Created
May 4, 2023 16:44
-
-
Save jhurliman/6ca72325af3234824a3f60c7085d6003 to your computer and use it in GitHub Desktop.
Run a tensorboard docker service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
docker run --init \ | |
-d \ | |
--restart unless-stopped \ | |
--hostname jupiter.martian.ag \ | |
--log-opt max-size=50m \ | |
-p 6006:6006 \ | |
-e DOCKER_USER=$(id -un) \ | |
-e DOCKER_USER_ID=$(id -u) \ | |
-e DOCKER_PASSWORD=$(id -un) \ | |
-e DOCKER_GROUP_ID=$(id -g) \ | |
-v "$(pwd)":/workdir \ | |
-v "$(dirname $HOME)":/home_host \ | |
dclong/tensorboard /scripts/sys/init.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment