Install Docker in WSL 2 without Docker Desktop

Опубликовано: 29 Сентябрь 2024
на канале: Nick Janetakis
64,917
650

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/instal...
► https://docs.docker.com/engine/instal...
► https://docs.docker.com/engine/instal...
► https://docs.docker.com/compose/insta...
► https://github.com/nickjj/docker-flas...
► https://kind.sigs.k8s.io/
► https://github.com/nickjj/dotfiles/co... (.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-to...

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / 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?