Here are a few useful Docker commands that can be used for local development.
Skylab:
| Runner | Command |
|---|---|
| Docker | docker buildx build . --file Dockerfile -t juno-skylab --build-arg CLI_BUILD=skylab --progress=plain --no-cache --platform=linux/arm64 |
| Podman | podman build . --file Dockerfile -t juno-skylab --build-arg CLI_BUILD=skylab --log-level=debug --no-cache --arch arm64 |
| Apple Container | container build . --file Dockerfile -t juno-skylab --build-arg CLI_BUILD=skylab |
Satellite:
| Runner | Command |
|---|---|
| Docker | docker buildx build . --file Dockerfile -t juno-satellite --progress=plain --no-cache --platform=linux/arm64 |
| Podman | podman build . --file Dockerfile -t juno-satellite --log-level=debug --no-cache --arch arm64 |
| Apple Container | container build . --file Dockerfile -t juno-satellite |
Console:
| Runner | Command |
|---|---|
| Docker | docker buildx build . --file Dockerfile -t juno-console --build-arg CLI_BUILD=console --progress=plain --no-cache --platform=linux/arm64 |
| Podman | podman build . --file Dockerfile -t juno-console --build-arg CLI_BUILD=console --log-level=debug --no-cache --arch arm64 |
docker run -p 127.0.0.1:5987:5987 juno-satellitedocker run -it \
--name juno-skylab-test \
-p 5987:5987 \
-p 5999:5999 \
-p 5866:5866 \
-v juno_skylab_test:/juno/.juno \
-v "$(pwd)/juno.config.mjs:/juno/juno.config.mjs" \
-v "$(pwd)/target/deploy:/juno/target/deploy" \
junobuild/skylab:latestdocker stop $(docker ps -aq)docker system prune --all --force --volumes