154
submitted 4 months ago* (last edited 4 months ago) by LoganNineFingers@lemmy.ca to c/linux@lemmy.ml

I installed a few different distros, landed on Cinnamon Mint. I'm not a tech dummy, but I feel I'm in over my head.

I installed Docker in the terminal (two things I'm not familiar with) but I can't find it anywhere. Googled some stuff, tried to run stuff, and... I dunno.

I'm TRYING to learn docker so I can set up audiobookshelf and Sonarr with Sabnzbd.

Once it's installed in the terminal, how the hell do I find docker so I can start playing with it?

Is there a Linux for people who are deeply entrenched in how Windows works? I'm not above googling command lines that I can copy and paste but I've spent HOURS trying to figure this out and have gotten no where...

Thanks! Sorry if this is the wrong place for this

EDIT : holy moly. I posted this and went to bed. Didn't quite realize the hornets nest I was going to kick. THANK YOU to everyone who has and is about to comment. It tells you how much traction I usually get because I usually answer every response on lemmy and the former. For this one I don't think I'll be able to do it.

I've got a few little ones so time to sit and work on this is tough (thus 5h last night after they were in bed) but I'm going to start picking at all your suggestions (and anyone else who contributes as well)

Thank you so much everyone! I think windows has taught me to be very visually reliant and yelling into the abyss that is the terminal is a whole different beast - but I'm willing to give it a go!

you are viewing a single comment's thread
view the rest of the comments
[-] Vendetta9076@sh.itjust.works 13 points 4 months ago

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.

[-] rambos@lemm.ee 9 points 4 months ago

OP this is the answer but Ill provide simple steps in case this is not clear enough:

  1. Install docker
  2. Install docker-compose
  3. Install portainer (command from the post above)
  4. open Portainer GUI in browser using IP:8000 (from here you can do everything in GUI)
  5. go to stacks and create a new stack
  6. edit docker-compose for audiobookshelf - modify folder paths for volumes (example - change ./audiobooks:/audiobooks to /path/to/folder:/audiobooks)
  7. paste that in stack and hit deploy
  8. go to IP:13378 to open Audiobookshelf GUI
  9. enjoy
[-] twei@discuss.tchncs.de 2 points 4 months ago

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

[-] Vendetta9076@sh.itjust.works 2 points 4 months ago

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 :)

[-] rambos@lemm.ee 1 points 4 months ago

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

this post was submitted on 25 Feb 2024
154 points (91.4% liked)

Linux

45530 readers
1540 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS