Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loumalouomega/kratosdockerfordebugging
This is a docker file for generate a debugging VM. You can use the VS Code server for easier debugging
https://github.com/loumalouomega/kratosdockerfordebugging
docker fem kratos kratos-multiphysics multiphysics visual-studio-code
Last synced: 1 day ago
JSON representation
This is a docker file for generate a debugging VM. You can use the VS Code server for easier debugging
- Host: GitHub
- URL: https://github.com/loumalouomega/kratosdockerfordebugging
- Owner: loumalouomega
- License: mit
- Created: 2021-07-02T11:08:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-18T16:00:18.000Z (over 3 years ago)
- Last Synced: 2024-11-19T15:07:59.785Z (2 months ago)
- Topics: docker, fem, kratos, kratos-multiphysics, multiphysics, visual-studio-code
- Language: Dockerfile
- Homepage:
- Size: 497 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# KratosDockerForDebugging
[![License][license-image]][license] [![CI](https://github.com/loumalouomega/KratosDockerForDebugging/actions/workflows/ci.yml/badge.svg)](https://github.com/loumalouomega/KratosDockerForDebugging/actions/workflows/ci.yml)
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license]: https://github.com/loumalouomega/KratosDockerForDebugging/blob/main/LICENSE![](docs/kratos.png)
This is a docker file for generate a debugging VM. Uses VS Code server nor JupyterLab so the debugging is easier.
![](docs/vscodeserver.png)
![](docs/jupyter_notebook.png)
# How to use
## Compile
### Compile without VS Code server nor JupyterLab
~~~sh
docker build -f ./docker/Dockerfile -t kratostest .~~~
### Compile with VS Code server
~~~sh
docker build -f ./docker/Dockerfile_with_VSCODE -t kratostestvscode .
~~~### Compile with JupyterLab
~~~sh
docker build -f ./docker/Dockerfile_with_JupyterLab -t kratostestjupyterlab .
~~~## Download current image from Dockerhub
[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)](https://hub.docker.com/repository/docker/loumalouomega/kratos4debug/general)
### Without VS Code server nor JupyterLab
~~~sh
docker pull loumalouomega/kratos4debug:KratosTest
~~~### With VS Code server
~~~sh
docker pull loumalouomega/kratos4debug:KratosTestVSCode
~~~### With JupyterLab
~~~sh
docker pull loumalouomega/kratos4debug:KratosTestJupyterLab
~~~## Run
### Without VS Code server nor JupyterLab
~~~sh
docker run -it loumalouomega/kratos4debug:KratosTest
~~~### With VS Code server
~~~sh
docker run -p 8080:8080 --network="host" loumalouomega/kratos4debug:KratosTestVSCode
~~~### With JupyterLab
~~~sh
docker run -p 8888:8888 --network="host" loumalouomega/kratos4debug:KratosTestJupyterLab
~~~## VS Code Server
Once you have started the docker image with VS Code server you can acess to the instance going to [localhost:8080](http://127.0.0.1:8080).
## JupyterLab
Once you have started the docker image with JupyterLab you can acess to the instance going to [localhost:8888/lab](http://127.0.0.1:8888/lab).