Uninstall swXtchBridge

Prev Next

WHAT TO EXPECT

In this article, users will learn how to uninstall a SwXtchBridge.

Uninstalling swXtchBridge

Using Docker

To uninstall the swXtchBridge via Docker, users will need to follow these steps:

  1. Get the swXtchBridge docker container ID.

    $ docker ps
    CONTAINER ID   IMAGE           COMMAND             CREATED          STATUS                          PORTS     NAMES
    f8fb84bbaf53   swxtch-bridge   "./entrypoint.sh"   14 minutes ago   Restarting (2) 37 seconds ago             swx-bridge

  2. Stop the Docker service.

  3. Remove the container from the machine.

    docker rm <ID_or_Name>

For a complete list, see Helpful Docker Service Commands under cloudSwXtch How To’s.

Using the installer

Simply run the installation script with the argument -u. If you already have the installation script, execute it like:

./swx-bridge-install.sh -u

If you don’t have the script, download it and execute it:

curl http://<swxtch-ip>/swx/services/install/swx-bridge-install.sh -o swx-bridge-install.sh; chmod +x swx-bridge-install.sh; ./swx-bridge-install.sh -u