Hi guys, I have no problem running docker (containers) via CLI, but I though it would be nice try Docker Desktop on my Ubuntu machine. But as soon as I start Docker Desktop it runs “starting Docker engine” indefinitely until my drive is full. The .docker folder then is about 70GB large. I read somewhere that this is the virtual disk size that is being created and that I could change it in the settings, but those are blocked until the engine starting process is finished (which it never does). Anyone else has experienced this?

  • shastaxc@lemm.ee
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    4 days ago

    You’re on Linux. You can install docker without the fancy desktop GUI. Just install the CLI.

  • perry@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    This doesn’t exactly help your situation, but as a developer that builds and publishes docker images most days of my work week, I’d not suggest anyone do the same on a drive smaller than 512GB. Docker builds create layers on the fly as changes are seen and these can range from bytes to hundreds of megs at least. Casual docker development will easily chew through a few hundred gigs after a while, in my experience.

    Just trying to put things in perspective: sadly, 70GB is peanuts here if you’re working with popular software stacks. Yes there needs to be some virtual image for docker desktop and due to the above, I usually have mine set at over 200GB.

  • kersplomp@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 days ago

    Yeah this is a common issue with docker. If you can get away with running the underlying tool without docker I would almost always recommend that instead.

  • Vinny_93@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Can you find out what files are being created? My host disk usually fill up with logs from containers if I don’t specify a max log size.