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
- Log into the Linux based device
- 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
- 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 - Once the Yacht container is downloaded and running, open a web browser and navigate to http://DNSorIP:8000
- Login with the username admin@yacht.local and password pass
- Click Admin > User in the top right corner
- Select Change Password from the top navigation menu
- Enter and confirm a new password
- Optionally, change the username
- Click the Change User Info button to apply the changes
- Welcome to Yacht, Docker container management from a web browser
Documentation: https://github.com/SelfhostedPro/Yacht