Giter Club home page Giter Club logo

rm_docker_desktop's Introduction

No more Docker Desktop

Why docker desktop is not great

You do not like docker desktop? I don't like it for the reasons below:

  • Resource hungry
  • Not open source
  • Not free
  • Black box

Not even close to free!

What can you do about it?

You are in luck, this repo is just for that reason, getting rid of docker desktop.

Alternative

List of alternatives:

(Wait for more alternative combo from PR)

Tutorials for the combos

Combo 1:

Step 1: Install colima

brew install colima

WARNING: For some users, reported issues with credentials, can be solved with installation below

brew install docker-credential-helper

Step 2: Install docker (If you haven't)

brew install docker

Step 3: Install buildx (This is essential)

Now you may ask why? buildx is bundled with docker desktop, if you don't install buildx colima will use a deprecated version of docker build, which will not be a good replacement for docker desktop. Hence, this step is a must.

Steps to install buildx for apple silicon (TODO: add in other systems). You need to install github cli client btw (brew install gh)

RELEASE_FILE_SUFFIX='darwin-arm64'

gh release download --repo 'github.com/docker/buildx' --pattern "*.$RELEASE_FILE_SUFFIX"
mkdir -p ~/.docker/cli-plugins
mv -f *.$RELEASE_FILE_SUFFIX ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
docker buildx version # verify installation

Step 4: Run colima (replace docker)

Below is my recommended configuration for Apple silicon colima

colima start --arch aarch64 --vm-type vz --cpu 10 --memory 16

NOTES: replace correct cpu (CORE) and memory (RAM) as to your liking

  • arch : aarch64 -> apple silicon
  • vm-type : vz -> apple virtulization can read more here. This is better than qemu on Docker Desktop but might have some issues (no issues for me so far).
  • cpu and memory are clear!

Now you can try typing in docker info and see the result, docker is running fine just like having docker desktop. (even faster for vz)

Step 5: Install lazydocker

Now you already got the docker but only in CLI but no UI. Don't worry i got a thing even better, let install lazydocker.

brew install lazydocker

Step 6: Set up docker host for lazydocker

Because colima doesn't use the same path for DOCKER_HOST we need to set that up properly, don't worry i got one liner for you. Just run (in MacOS).

echo export DOCKER_HOST="unix://$HOME/.colima/docker.sock" >> ~/.zshrc

You can replace .zshrc with .bashrc or if you're not using zsh, but zsh is the default on MacOS now.

Step 7: Run lazydocker (replace docker desktop UI)

Now you can just run the UI by run this in the terminal

lazydocker

Lazy docker

Contribution

You you wish to contribute your own "combo" to get rid of Docker Desktop, please feel free to make a PR directly to this repo. Let's make docker open source and awesome!

rm_docker_desktop's People

Contributors

tikikun avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.