• YellowTraveller@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    When I was in school I once used a IOS emulator running inside a docker container of MacOS running on a linux machine. It works surprisingly smoothly.

  • 𝐘Ⓞz҉@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Can someone please explain me like i am 5 what is docker and containers ? How it works? Can i run anything on it ? Is it like virtualbox ?

    • SantaClaus@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Think of a container like a self contained box that can be configured to contain everything a program may need to run.

      You can give the box to someone else, and they can use it on their computer without any issues.

      So I could build a container that contains my program that hosts cat pictures and give it to you. As long as you have docker installed you can run a command “docker run container X” and it’ll run.

  • Ucinorn@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Not just OSX: anyone using WSL on windows is an offender too

    But as a WSL user, dockerised Dev environments are pretty incredible to have running on a windows machine.

    Does it required 64 gig of ram to run all my projects? Yes. Was it worth it? Also yes

    • qwop@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      My experience using docker on windows has been pretty awful, it would randomly become completely unresponsive, sometimes taking 100% CPU in the process. Couldn’t stop it without restarting my computer. Tried reinstalling and various things, still no help. Only found a GitHub issue with hundreds of comments but no working workarounds/solutions.

      When it does work it still manages to feel… fragile, although maybe that’s just because of my experience with it breaking.

      • desmaraisp@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        You can cap the amount of cpu/memory docker is allowed to use. That helps a lot for those issues in my experience, although it still takes somewhat beefy machines to run docker in wsl