Uninstall - tulliolo/mobybolt GitHub Wiki

You can follow the next steps to uninstall the whole suite:

  1. Log in to your node as admin user via Secure Shell (SSH) and access the project's home:

    $ cd apps/mobybolt
    
  2. Remove all the running services:

    $ docker compose down
    > [+] Running n/m
    > ✔ Container mobybolt_nginx  Removed 
    > ✔ Container mobybolt_tor    Removed
    > ...
    > ✔ Network mobybolt_default  Removed 
    
  3. Remove all the images:

    $ docker image rm $(docker images | grep mobybolt | awk '{print $3}')
    > ...
    > Untagged: mobybolt/tor:0.4.8.11
    > Deleted: sha256:ee5c4a10bdd0653c0482192a97d5e16c570c7389f323f3008b9c76cab7a8eaf9
    > Untagged: mobybolt/nginx:mainline
    > Deleted: sha256:2c250073ded2286f819a9c025bfe9d87250d1f7a37ab236a7b61aec31e4c63d8
    > ...
    
  4. Clear the build cache:

    $ docker buildx prune
    > WARNING! This will remove all dangling build cache. Are you sure you want to continue? [y/N] y
    > ID                                              RECLAIMABLE     SIZE            LAST ACCESSED
    > r4y2gpo6s0x0kjysuktg38z8y                       true            398B            6 hours ago
    > in97ma2g57e956xc84k8mu0hv                       true            15.38kB         44 hours ago
    > ...
    
  5. Remove all the volumes (optional):

    :warning: This will remove all the persistent data (e.g. the blockchain). Don't do this if you plan to reinstall. :warning:

    $ docker volume rm $(docker volume ls | grep mobybolt | awk '{print $2}')
    > ...
    > mobybolt_tor-data
    > ...
    
  6. Remove files and directories (optional):

    $ cd
    $ rm -rf apps/mobybolt