this post was submitted on 25 Feb 2024
151 points (91.3% liked)
Linux
48685 readers
375 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Apt install docker.io
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
Go to IP:8000 and now you can build docker compose stacks. A far easier way to learn docker.
OP this is the answer but Ill provide simple steps in case this is not clear enough:
./audiobooks:/audiobooks
to/path/to/folder:/audiobooks
)one of my portainer instances completely broke a few months ago because of a failed db migration after an update. i've been using dockge ever since and i'm happy with it. it stores every stack you deploy as a docker-compose file on your regular filesystem, so if it ever breaks you can just edit the files instead
Oh that is nice. Yeah I tend not to use portainer nowadays but when I was learning docker it was a godsend. I'll look into dockge though :)
I never tried dockage, but portainer also stores all docker-compose on filesystem (probably at
var/lib/docker/volumes/portainer_data/_data/compose
). You can also use "backup" button in GUI to download everything in single tar.gz archive. Folder structure is not the best, but its not hard to figure out. I'm not saying portainer is better though