Skip to main content

Down

Running sedge down will stop and remove containers using the docker compose CLI.

note

This action doesn't remove client data-dir inside the sedge directory. Could be reused if you restart the service again using sedge run.

Help

$ sedge down -h
Shutdown sedge running containers using docker compose CLI. Shortcut for 'docker compose -f <script> down'

Usage:
sedge down [flags]

Flags:
-h, --help help for down
-p, --path string docker-compose script path (default "./docker-compose-scripts")

Global Flags:
--logLevel string Set Log Level (default "info")

Execution Example

The execution of sedge down will close and remove all the opened containers and networks used by sedge.

$ sedge down
2022-00-00 00:00:00 -- [INFO] [Logger Init] Log level: info
2022-00-00 00:00:00 -- [INFO] You are running the latest version of sedge. Version: v1.5.0
[sudo] password for maceo:
[+] Running 7/7
⠿ Container execution-client Removed 93.8s
⠿ Container validator-client Removed 0.0s
⠿ Container consensus-client Removed 3.8s
⠿ Container validator-import-client Removed 0.0s
⠿ Network docker-compose-scripts_default Removed 0.2s
⠿ Network sedge_network Removed 0.1s