Docker Deployment - WM-SEMERU/SemeruGuidelines GitHub Wiki
At host server create the scratch folder:
/scratch/<username>
- Pull git from the project repo
- Go into the project folder
- Open
start.sh
- Validate parameters. Parameters can be sent via bash execution parameter or set into the start.sh file.
- Be sure that “TAG” contains your username, otherwise you can set it into this start.sh file.
- Execute:
./start.sh --build
-
./start.sh /semeru/icode_gen/ 8006 //
For tower, 5
After build the image and run the container:
- Check the container list. Docker ps
Common problems:
- Some dependencies are not accomplished at the requirements.txt python file, please validate them by running the build docker command:
-
docker build -t $TAG
. - See the console output to identify the error
-
- Port is already used by other docker containers
- Please check with docker ps command any other containers running at the host machine
- Update the port you're using for your container.