Install Docker in WSL 2 without Docker Desktop

Nick Janetakis November 22, 2022
Video Thumbnail
Nick Janetakis Logo

Nick Janetakis

View Channel

About

Hi, I'm Nick and I've been a self taught software developer for about 20 years. Over the years I've worked as a consultant doing contract work for various clients while also hacking away on my own projects because it's what I love to do. I'm also a Docker Captain, which means that Docker personally reached out to me to join their team as a trusted content provider and community leader. Want to learn Docker? Check out: https://diveintodocker.com Want to read my blog? Check out: https://nickjanetakis.com I also have a list of courses related to web development and deployment at: https://nickjanetakis.com/courses

Video Description

It only takes a few lines of shell scripting and there's Kubernetes support too. Hit the subscribe button to receive more videos like this! REFERENCE LINKS --------------------------------------------------- ► https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop ► https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script ► https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user ► https://docs.docker.com/compose/install/linux/ ► https://github.com/nickjj/docker-flask-example ► https://kind.sigs.k8s.io/ ► https://github.com/nickjj/dotfiles/commit/badd3265e5c8f6eca90d3b57df29292545332500 (.zprofile file) COURSES --------------------------------------------------- Courses I've created that focus on web dev and deployment topics. ► https://nickjanetakis.com/courses/ THE TOOLS I USE / GEAR --------------------------------------------------- ► https://nickjanetakis.com/blog/the-tools-i-use FOLLOW ME ELSEWHERE --------------------------------------------------- ► Twitter: https://twitter.com/nickjanetakis ► GitHub: https://github.com/nickjj TIMESTAMPS --------------------------------------------------- 0:00 -- Intro 0:22 -- Everything runs smoothly with this set up 0:53 -- Why I ended up switching away from Docker Desktop 3:18 -- Switching away has nothing to do with Docker Desktop license costs 3:56 -- Why you might want to continue using Docker desktop 6:01 -- You can still run a Kubernetes cluster locally if you want 7:09 -- Following the Docker Linux install guides 8:25 -- Adding your WSL 2 user to the Docker group to run Docker without sudo 9:44 -- Install Docker Compose v2 with the Docker plugin 10:44 -- Now we need to run the Docker service within WSL 2 11:19 -- A tiny bit of shell scripting to ensure Docker is started 15:43 -- How are you running Docker within WSL 2?

You May Also Like