Control Local Docker Containers From a Web Browser with Yacht 🌱

What is Yacht?

Yacht is a web interface for managing docker containers with an emphasis on templating to provide one-click deployments of dockerized applications. Think of it like a decentralized app store for servers that anyone can make packages for. -https://yacht.sh/docs/

Installing Docker

  1. Log into the Linux based device
  2. Run the following commands in the terminal
    # install prerequisites
    sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
    # add docker gpg key
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    # add docker software repository
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    # install docker
    sudo apt install docker-ce docker-compose containerd.io -y
    # enable and start docker service
    sudo systemctl enable docker && sudo systemctl start docker
    # add the current user to the docker group
    sudo usermod -aG docker $USER
    # reauthenticate for the new group membership to take effect
    su - $USER

Running Yacht

  1. Now that Docker is installed, run the following commands to setup the Yacht Docker container and run it
    # create working directories
    mkdir ~/docker/yacht -p
    # run the yacht docker container
    docker run -d -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock -v ~/docker/yacht:/config --restart unless-stopped selfhostedpro/yacht
  2. Once the Yacht container is downloaded and running, open a web browser and navigate to http://DNSorIP:8000
  3. Login with the username admin@yacht.local and password pass
  4. Click Admin > User in the top right corner
  5. Select Change Password from the top navigation menu
  6. Enter and confirm a new password
  7. Optionally, change the username
  8. Click the Change User Info button to apply the changes
  9. Welcome to Yacht, Docker container management from a web browser

Documentation: https://github.com/SelfhostedPro/Yacht