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!
deleted by creator
deleted by creator
Why should you get hate for the warp terminal? I’ve never used it but it looks quite nice.
@llii @Presi300 It was made for apple users and evidently so (it’s basically #alacritty and #tmux but closed source, cloud-based and with some AI bullcrap on top of it)
deleted by creator
I would enjoy training a LLM on my aggregated command history and using that for auto completion, or maybe using an open source one trained on a larger set from the community, but I am very uncomfortable sending data about every command (as I’m writing it!) to any company.
Ok, this isn’t for me than.
deleted by creator
Oh, that’s a no from me then.
deleted by creator
There are distributions like CasaOS and TrueNAS Scale that try to offer at least a bit of graphical guidance for some popular apps.
Otherwise, you’re jumping into the server pool, Windows doesn’t really work that different from Linux in that area (in the sense that you can just click on things).
The crazy pills are the first step in learning. Embrace the crazy. Take more pills.
Which pills would you recommend?
Estrogen? It works for my girlfriend and her Linux shenanigans!
Damn, I’ll have to try it out!
It worked for me!
Docker is a cli only app, if you want a gui interface check out docker desktop
This is probably what OP wants. A gui
A GUI isn’t going to help, mon capitaine. Start-stop is the easy part, OP will still need to create a docker-compose.yml and a systemd unit.
The OP wants a LLM to walk him through the process and generate all of the relevant files. If they entered 2-3 prompts into gemini/chatgpt they wouldn’t have needed this thread.
Most docker releases I have seen include a template yml
Did you miss the part where OP failed to Google how to start a docker image?
I admit you’re right Q, regrettably so… Nonetheless, this poor individual deserves our help.
And in return for my help, all I’m getting is hate from the primitive lifeforms…
Docker is a developer tool, not really something you should be using without some technical knowledge, or at least some experience in the terminal. It’s purely a terminal application, so you just type “docker” in the terminal to use it. You can also type “man docker” to view the manual (which shows arguments and command you can use) but again, that won’t help much without some prior knowledge.
The things you’re trying to use look like self-hosted web servers, which is a lot to set up for someone who’s new to the terminal. I won’t stop you if you want, but be warned. I’d recommend using something simpler like cozy, which you should be able to find and download in the software store.
Docker is a deployment tool. Not a developer tool.
Unless you’re trying to simplify your deployment stack there isn’t really a compelling reason to install it unless you’re trying to learn something new for the fun of it.
With that said you need things to deploy to make it useful. Like a database server, web server, etc.
Docker is a developer tool
First, it’s not. Second - so what if it is? Sounds like gatekeeping to me. They’ve expressed interest in learning how to use it, that’s enough.
If they want to use it that’s fine. I’m just cautioning against using a command line tool like that until they feel somewhat comfortable with the terminal.
The terminal is not some arcane source of dark power to be feared. It’s one of the defining characteristics of the Linux ecosystem. Anybody looking to use Linux should be expecting to use it and tools that are built for it.
It’s not like they could even really do any damage with docker either.
I don’t mean to be that guy but like did you even read a basic tutorial? Or did it install and the docker commands aren’t working still?
Keep in mind that you’re not just learning to use linux, but also learning to use docker,and docker is a complex tool by itself, which makes your journey significantly harder.
I never user Sabnzbd so I wouldn’t be of much help. However, you could post some of the problems you find, so that other people lay help you.
Once it’s installed in the terminal, how the hell do I find docker so I can start playing with it?
It’s not installed “in the terminal.” It’s installed on the computer; the terminal is just one way you might interact with it.
In particular, docker is a type of program called a ‘daemon’ or ‘server’: it runs in the background and doesn’t have an interface, per se. You can run docker commands and get their output, and you can of course interact with the services you’re using docker to run, but there is no “docker app” that runs as a foreground interactive process (either GUI app or ncurses terminal app).
Honestly, for those tools, I’d recommend posting in piracy@lemmy.dbzer0.com.
Echoing some other comments, those are decently complex tools all around. I’d recommend doing a few tutorials on docker before trying out that project (short ones, just to build a mental model).
As others have said, docker is a command line tool.
docker -v
in your terminal should be enough to “find” it. That’ll show you the version of docker you have installed.From there, I’d recommend the hello world image to start (this should get you there https://www.geeksforgeeks.org/docker-hello-world/).
From there, keep messing with it. Get more familiar with docker through their docs. Read a bit on images vs containers, port mapping, and volumes and mounts.
As others have said, look for docker only in the terminal. And then expect to spend a little time familiarizing yourself with what problem docker solves and how it solves it. Once you’ve got docker in your back pocket, you’ll be very well situated to set up all kinds of apps.
And when you run into other problems, there’s communities to answer and work through the issues
TBH I’ve been using Linux for over a decade, can install & set up Arch from scratch etc. and I still don’t understand Docker.
I have been in and out of Linux for years and Docker is just… Hard. There’s a thing called portainer, and it makes it so you can muck with Docker from a web browser, and that is literally all I know at this point. Still, might be helpful? I have some Docker stuff, and it works the way I assume my mom thinks Linux works. Someone typed fast and magic happened. Best of luck!
There’s not a fantastic GUI for managing docker. There are a few like dockge (my favorite) or Portainer.
I recommend spending some time learning
docker run
with exposed ports, bind volumes (map local folders from your drive to folders inside the container so you can access your files, configs, content, etc. Also so you don’t lose it when you delete the container and pull a newer version).Once you’ve done that, check out the spec page for
docker-compose.yaml
. This is what you’ll eventually want to use to run your apps. It’s a single file that describes all the configuration and details required for multiple docker containers to run in the same environment. ie: postgres version 4.2 with a volume and 1 exposed port, nginx latest version with 2 volumes, 4 mapped ports, a hostname, restart unless-stopped, and running as user 1000:1000, etc.I’ve been using docker for home a LIGHT business applications for 8 years now and
docker-compose.yaml
is really all you need until you start wanting high availability and cloud orchestration.Some quick tips though.
- Search
some-FOSS-app-name docker-compose
read through a dozen or so templates. Check the spec page to see what most of the terms mean. It’s the best way to learn how to structure your own compose files later. - Use other people’s
compose.yaml
files as templates to start from. Expect to change a few things for your own setup. - NEVER use
restart: always
. Never. Change it torestart: unless-stopped
. Nothing is more annoying than stopping an app and having it keep doom spiraling. Especially at boot. - Take a minute to set the docker daemon or service to run at boot. It takes 1 google and 30 seconds, but it’ll save you when you drunkenly decide to update your host OS right before bed.
- Use mapped folders for everything. If you map
/srv/dumb-app/data:/data
then anything that container saves to the/data
folder is accessible to you on your host machine (with whatever user:group is running inside the container, so check that). If you use the docker volumes like EVERYONE seems to like doing, it’s a pain to ever get that data back out if you want to use it outside of docker.
- Search
Docker can be really confusing, but IMO being able to add and remove software without having changes made throughout your system is well worth the effort.
Docker’s hard. I never really got my head around it. I used “Swizzin Community Edition” to setup my media server. It was really easy compared to Docker-based solutions.