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!

  • ugh
    link
    233 months ago

    I’m also pretty new to Linux, but I’ve finally gotten a bit of a grasp on it. I started learning Linux to set up a home server, so I also jumped straight into Docker. You have gotten some thorough replies, but I thought I’d share my chaotic journey with it that has ended in a decent ratio of success vs confusion. Note: I have used Ubuntu from the start.

    Don’t use docker desktop. It’s garbage. Also, don’t use the Snap image.

    $sudo apt install docker.io

    $sudo apt install docker-compose

    Those are both cli “programs”. They aren’t apps like you have on Windows. It seems VERY intimidating to talk into the void of the terminal, but you’ll build confidence. Docker commands work like any other commands, all in the same place.

    Now install Portainer CE. The instructions are very simple to follow. You can reach Portainer through your browser at the localhost address it gives you, which you type directly into the URL bar. I think it’s http://localhost:9000.

    Portainer will give you an easy visual way to manage Docker. You can perform many tasks through Portainer instead of using the command line. Honestly, I’m pretty sure you could do everything on Portainer and not even touch the terminal. I don’t suggest that because you will have to have at least a basic understanding of how Linux and Docker work. You will be confused, and you will feel crazy. Eventually, you’ll get more comfortable living in that psychosis.

    On to Docker Compose!! This is my preferred way to run containers. I have a designated folder in /opt that I use for my compose files. This way, I know exactly how I set up my programs. My memory is awful and I tweak things so often that I’ll completely forget how I have even gotten to this point or where ANY of my files are. It’s pretty easy to find docker compose files online that you can copy and paste and it instantly works!

    To make it simple, after I have saved my docker-compose.yaml file in the designated folder, I right click on the empty area and choose “open in terminal”.

    $sudo docker-compose up -d

    The -d instructs the program to continue to run, even if you exit out of the terminal. At this point, your container will also show up in portainer!

    I think that covers the basics. My biggest tip is to keep a notepad handy to write down commands that you have to search for. Your bookmarks will fill up very quickly otherwise. Expect to get stuck sometimes. Expect to spend hours trying to troubleshoot an issue, then have it suddenly work with no idea what you actually did to fix it. Accept the win and never touch it again.

    I have done fresh installs many times. Some because I’ve played with 10 different programs that I decided against and want the leftover files gone, some because I wanted to try different mixes of distros, and once because I legitimately broke the OS.

    Keep your important stuff on an external drive to avoid any loss and don’t be afraid to mess around with it!

    Btw, I’m a huge KDE plasma fan. It’s lighter than GNOME, but very user friendly. I’ve settled on Kubuntu as my distro of choice.

    • lemmyvore
      link
      fedilink
      English
      73 months ago

      Don’t use docker-compose anymore, it’s been obsolete for a while now and won’t be getting new features.

      It’s best to add the docker official repo and install docker and docker-compose-plugin from there.

      The -plugin version acts as a docker subcommand (docker compose) and will be updated alongside docker going forward.

      • ugh
        link
        13 months ago

        Thank you! I’ll look into that

    • @flubba86@lemmy.world
      link
      fedilink
      53 months ago

      Well said. I’ve been using Linux for 15 years and using Docker for 6 years. I couldn’t have communicated as well as you did. You have a knack for teaching.