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!

  • Julian
    link
    fedilink
    English
    7
    edit-2
    1 year ago

    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.

    *Edit: it’s not only a developer tool, it’s used for deployment as well. I lumped the two together. It’s still a tool made for people with more familiarity using the terminal though.

    • @[email protected]
      link
      fedilink
      English
      91 year ago

      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.

      • Julian
        link
        fedilink
        English
        91 year ago

        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.

        • @[email protected]
          link
          fedilink
          English
          21 year ago

          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.

    • @[email protected]
      link
      fedilink
      English
      3
      edit-2
      1 year ago

      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.

  • Corgana
    link
    fedilink
    141 year ago

    Is there a Linux for people who are deeply entrenched in how Windows works?

    Zorin is this, though your choice of Mint is good too. It will not help you understand docker though.

    If you’re trying to do Audibookshelf on a home server CasaOS made docker super easy for me.

  • @[email protected]
    link
    fedilink
    31 year ago

    how the hell do I find docker

    Type “docker” in terminal and hit enter. Since it’s installed, your system will likely recognize it as a command and populate a help menu for you. You’ll want to visit docker’s website for a full manual.

  • @[email protected]
    link
    fedilink
    301 year ago

    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.

  • Possibly linux
    link
    fedilink
    English
    10
    edit-2
    1 year ago

    I think it will be easier to use docker compose with a premade docker compose file.

    Create a new directory cd into it and then nano docker-compose.yaml. For instance, here is a docker compose I found one the audio bookshelf website:

    version: "3.7"
      services: 
        audiobookshelf:
          image: ghcr.io/advplyr/audiobookshelf:latest
          ports: - 13378:80
          volumes:
            - </path/to/audiobooks>:/audiobooks
            - </path/to/podcasts>:/podcasts - </path/to/config>:/config
            - </path/to/metadata>:/metadata
    

    https://www.audiobookshelf.org/docs/#docker-compose-install

  • @[email protected]
    link
    fedilink
    11 year ago

    If you’re not planning to actually learn Docker, use an LLM AI to help you out. I just tried the following prompt in Gemini “generate docker-compose.yml that runs audiobookshelf and Sonarr with Sabnzbd” and it generated something that looks reasonable. Then you can follow it up with prompts like “how do I auto start it on linux?” and it will generate the systemd unit, and also tell you what commands to run.

  • @[email protected]
    link
    fedilink
    English
    331 year ago

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

    Type docker in the terminal, it’s a CLI application.

    But it sounds like you might want to install Docker Desktop, which does give you a GUI to use.

  • Goku
    link
    fedilink
    141 year ago

    I remember being so lost in the dark when starting docker. There’s 2 main approaches to launching docker containers. One is with CLI arguments and one is from a docker-compose.yml file.

    I highly recommend the latter.

    Try going to chatGPT and ask it to write a docker compose file for whatever service you’re trying to stand up.

    • lemmyvore
      link
      fedilink
      English
      111 year ago

      There’s no point in asking ChatGPT for a generic compose, most docker images will recommend a compose that’s specifically written for them.

  • @[email protected]
    link
    fedilink
    81 year ago

    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.

  • @[email protected]
    link
    fedilink
    61 year ago

    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!

  • @[email protected]
    link
    fedilink
    4
    edit-2
    1 year ago

    Sudo docker will do the trick. Docker does some networking shit so it needs admin privileges

    Don’t give up, don’t listen to goober 🤓 itt telling you to read manpages that shit is worthless.

  • ugh
    link
    fedilink
    241 year 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
      71 year 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.

    • @[email protected]
      link
      fedilink
      51 year 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.