Base Images
- ghcr.io/adrianliechti/loop-code
- ghcr.io/adrianliechti/loop-code:dind
Pre-Configured Images
- ghcr.io/adrianliechti/loop-code:golang
- ghcr.io/adrianliechti/loop-code:golang-dind
- ghcr.io/adrianliechti/loop-code:java
- ghcr.io/adrianliechti/loop-code:java-dind
- ghcr.io/adrianliechti/loop-code:dotnet
- ghcr.io/adrianliechti/loop-code:dotnet-dind
# run golang stack
docker run --name code -v $(pwd):/src -p 3000:3000 adrianliechti/loop-code:golang
With Docker Support
# run golang stack with docker-in-docker support
docker run --name code --privileged -v $(pwd):/src -p 3000:3000 adrianliechti/loop-code:golang-dind
Open http://localhost:3000/?folder=/src in your Web Browser
This creates the following in the Namespace "loop"
- a deployment with a persistent volume
- a privileged sidecare container running docker
- a service account & cluster-admin role binding (to manage Kubernetes)
- a service accessable by http
# deploy on kubernetes
kubectl apply -f https://raw.githubusercontent.com/adrianliechti/loop-code/main/kubernetes/install.yaml
# change stack if needed
kubectl set image deployment/code code=adrianliechti/loop-code:java
```shell