This repository is just for testing MPC control of ShipMMG.
-
Install Docker in your PC.
-
Install Docker Compose in your PC.
-
Get this repository.
$ git clone https://github.com/shipmmg/shipmmg_control.git
-
Build.
$ cd shipmmg_control $ docker-compose build # --no-cache if nessecary
-
Run.
$ docker-compose up
-
Access http://localhost:8888/
- Default access token is
shipmmg_control. Please change this access token by editing Dockerfile.
- Default access token is
-
Build & Run
-
Run and Save the notebooks on your current directory in your Linux or MacOS PC
$ docker build -t shipmmg-control . # --no-cache should be added after updating Dockerfile $ docker run --rm --name shipmmg-control -d -p 8888:8888 -v $(pwd)/notebooks:/notebooks -w /notebooks shipmmg-control jupyter-lab --no-browser --port=8888 --ip=0.0.0.0 --allow-root --NotebookApp.token='shipmmg_control'
-
Run and Save the notebooks on your current directory in your Windows PC
$ docker build -t shipmmg-control . # --no-cache should be added after updating Dockerfile $ docker run --rm --name shipmmg-control -d -p 8888:8888 -v ${pwd}/notebooks:/notebooks -w /notebooks shipmmg-control jupyter-lab --no-browser --port=8888 --ip=0.0.0.0 --allow-root --NotebookApp.token='shipmmg_control'
-
-
Access http://localhost:8888/
- Default access token is
shipmmg_control. Please change this access token.
- Default access token is
-
Kill image after finishing.
$ docker kill shipmmg-control