Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

start.sh 520 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. #! /bin/sh
  2. PORT=8004
  3. TAG=ds4se
  4. if [ $# -eq 2 ]; then
  5. if [ "$2" = "--build" ]; then
  6. # Build the docker container
  7. docker build -t $TAG .
  8. fi
  9. fi
  10. # Run the docker container. Add additional -v if
  11. # you need to mount more volumes into the container
  12. # Also, make sure to edit the ports to fix your needs.
  13. #docker run -d --gpus all -v $(pwd):/tf/main \
  14. # -v /mnt/data/ds4se:/tf/data \
  15. # -p 8004:8888 $TAG
  16. docker run --gpus all -d -v /mnt/data/ds4se:/tf/data -v $(pwd):/tf/main -p $PORT:8888 --name $TAG-danielrc $TAG
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...