this post was submitted on 25 Feb 2024
0 points (NaN% liked)

Linux

47900 readers
1022 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
 

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!

top 19 comments
sorted by: hot top controversial new old
[–] Presi300@lemmy.world 0 points 8 months ago* (last edited 8 months ago) (1 children)

AI can be of great help when learning docker, as it is genuinely super confusing. You don't "find" docker, it's a terminal program that you interact with... From the terminal.

I'm gonna get A LOT of hate for this, but check out Warp terminal. It has a really nice GUI for configuration and really nice autocomplete for commands.

[–] llii@feddit.de 0 points 8 months ago (2 children)

Why should you get hate for the warp terminal? I’ve never used it but it looks quite nice.

[–] chepycou@rcsocial.net 0 points 8 months ago (1 children)

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

[–] llii@feddit.de 0 points 8 months ago

Ok, this isn't for me than.

[–] Adanisi@lemmy.zip 0 points 8 months ago* (last edited 8 months ago) (1 children)

Because it requires you to sign in with the cloud and bloated

[–] llii@feddit.de 0 points 8 months ago

Oh, that's a no from me then.

[–] agressivelyPassive@feddit.de 0 points 8 months ago

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

[–] h3ndrik@feddit.de 0 points 8 months ago* (last edited 8 months ago)

Try a more managed and out-of-the-box solution first, then work your way down to the commandline. I'd recommend one of the NAS solutions like openmediavault (if they still do docker) or https://cockpit-project.org/

or Docker for Desktop or podman.io

(maybe lxc containers with proxmox or unraid)

[–] rutrum@lm.paradisus.day 0 points 8 months ago (1 children)

To be fair, you're taking on a lot of new things at once. You can spin up docker containers on windows too, all while using a UI. I think it's great your exposing yourself to self hosting, linux, command line interface, and containerization all at once, but don't beat yourself up for it taking longer than expected. A lot of it takes time. I encourage you to keep trying and playing. Good luck!

[–] Pantherina@feddit.de 0 points 8 months ago* (last edited 8 months ago) (1 children)

There is docker desktop on Linux too.

sudo apt install docker flatpak -y
# add flathub if not already there
flatpak install docker

Edit: please use Podman. And if you think about Virtualbox, please use Virt-manager instead. Both are RedHat products and they are pretty awesome. Podman is more secure and works well for your job, it is letter-for-letter compatible with docker. You can use podman-compose if you need) but that requires to run a daemon which is also possible.

You can use Podman with many container sources natively, while docker only allows dockerhub. Says enough.

[–] possiblylinux127@lemmy.zip 0 points 8 months ago (1 children)

Not recommended as for one it is proprietary and two its more confusing to have tons of buttons than it is to write a docker compose.

[–] Pantherina@feddit.de 0 points 8 months ago (1 children)

I mean I would recommend them to use Podman. Docker on Linux Mint was a mess last time I used it.

[–] possiblylinux127@lemmy.zip 0 points 8 months ago (1 children)

Why?

It seems like podman would be way harder as you need to configure systemd and manage containers yourself.

With docker compose you apply it and docker creates the containers you need.

[–] Pantherina@feddit.de 0 points 8 months ago (1 children)

I dont know if you still need an external repo for docker, podman is in the system repo.

When using Containers it works the same. Yes systemd stuff may be manual thats what Podman Desktop is probably for.

Its more secure, more free and when learning it new anyways, why not the better tool?

[–] possiblylinux127@lemmy.zip 0 points 8 months ago* (last edited 8 months ago) (1 children)

Podman is not really a replacement for docker. It is its own separate thing and it has trade offs with docker.

The reason I use podman on my local machine and for Jellyfin is that it is darn fast. It makes docker look like a emulator by comparison. With that being said the issue with podman is mostly permission related. However, it also has some instability in cases where a container malfunctions. This often is happens when you try to stop and start a container at the same time.

Once that happens the runtime effectively locks up as the system is in a state that it doesn't know how to handle.

Some of the benefits of docker include its ability to recover from just about anything. If you need a container to always be available docker can do that. It also can do on the fly patching and self healing.

Docker compose is very nice to have for larger software with multiple containers. I can write a docker compose that builds and deploys my nodejs applications with a database back end and it will just work without any issues. Deploy it and you are good.

[–] Pantherina@feddit.de 0 points 8 months ago

Thanks for the info, I have little personal experience especially with compose.

How is podman compose after setting it up?

[–] baccaratrevivify@lemmy.world 0 points 8 months ago (1 children)

Docker is a cli only app, if you want a gui interface check out docker desktop

https://docs.docker.com/desktop/install/linux-install/

[–] Jean_Lurk_Picard@lemmy.world 0 points 8 months ago (1 children)

This is probably what OP wants. A gui

[–] Shareni@programming.dev -2 points 8 months ago

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.