Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativu5/cranesched-devcontainer
https://github.com/nativu5/cranesched-devcontainer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativu5/cranesched-devcontainer
- Owner: Nativu5
- Created: 2024-02-21T09:07:14.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-11-22T05:49:33.000Z (about 1 month ago)
- Last Synced: 2024-11-22T06:27:06.598Z (about 1 month ago)
- Language: Dockerfile
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dev Container for CraneSched
Portable development environment for [CraneSched](https://github.com/PKUHPC/CraneSched).
## Quick Start
1. Open VS Code and install Dev Container extension.
2. Copy .devcontainer folder to your project.
3. Reopen the project in the container.To learn more about Dev Container, see [Developing inside a Container](https://code.visualstudio.com/docs/remote/containers).
For advanced configuration, see [Dev Container metadata reference](https://containers.dev/implementors/json_reference/).
## Without VS Code
If not using VS Code, refer to below commands for manual build and run:
- Build and push
```sh
docker build -t ghcr.io/nativu5/cranedev:full .
docker push ghcr.io/nativu5/cranedev:full
```- Pull and run
```sh
docker pull ghcr.io/nativu5/cranedev:full
docker run -it --rm --name cranedev ghcr.io/nativu5/cranedev:full
```
- Connect with SSH
SSH server is running on port 22.
The default user is `root` with password `xFeN1L1Hkbtw`.## Image Variants
- `latest`: Full development environment.
- `full`: Full development environment with MongoDB.
- `ci`: only toolchains for building, no development tools.