• Hello Guest! SynoForum.com is celebrating its 5th anniversary! 🥳🎉 Read more...
Dockge - A Container Manager replacement

Dockge - A Container Manager replacement

Background
After a recent Portainer snafu with my Debian server, triggered by a docker-ce update, I ran across dockge. While it lacks some exotic bits and pieces of Portainer, it is a super easy way of managing docker containers. After migrating many of my Debian containers to dockge, I wanted to do the same on my Synology unit. So I thought I'd share here.

Source

Setup
Dockge requires two directories... “data”, where it stores its configuration files, and “stacks”, where the compose file resides for each running container. Unlike Portainer, the compose file “compose.yaml” is not buried in the root structure.

I keep all my docker setup files in a shared folder docker. For dockge, that looks like this...
Code:
/volume1/docker/dockge/data
/volume1/docker/dockge/stacks
Having created those directories, SSH into your NAS. After logging in, execute the following:
Code:
sudo docker run -d -p 6001:5001 --name=dockge --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v /volume1/docker/dockge/data:/app/data -e DOCKGE_STACKS_DIR=/opt/stacks -v /volume1/docker/dockge/stacks:/opt/stacks louislam/dockge

[When asked for a password, enter your administrator's password]

NOTE: I've changed the external port to 9001 not knowing whether 5001 would work in the unit (choose any available port to your liking).

Run
Launch dockge locally using http://NAS_IP:9001 (ex. http://192.168.1.42:9001 where 192.168.1.42 is your NAS LAN IP).

Create an admin account for dockge and you're good to do. After that you can migrate your existing containers (or Portainer stacks) to dockge, and never look back.

Rather than explain the features and easiness of using dockge (ex., it will convert “docker run” strings to a compose file”), I'll refer you to this excellent video from DBTech:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

View: https://www.youtube.com/watch?v=E805XcbTzgY

Another nice feature is that you can connect dockge instances across all your running devices. So from my Synology dockge UI, I can also bring up the packages running on my Debian server 😁



Similar resources

How to update a Docker container wwwampy
Tutorial for updating containers via Docker UI
0.00 star(s) 0 ratings
Updated
Portainer - Docker container management made easy Rusty
  • Featured
Learn how to configure Portainer on your NAS and elevate your Docker setup to a new level.
5.00 star(s) 1 ratings
Updated
BitWarden - self hosted password manager using vaultwarden/server image Rusty
5.00 star(s) 11 ratings
Updated
Calibre: The one stop solution for all your e-book needs
5.00 star(s) 4 ratings
Updated
Firefly III - self-hosted manager for your personal finances wwwampy
4.75 star(s) 4 ratings
Updated
0.00 star(s) 0 ratings
Updated
Back
Top