Setup Docker for Windows Containers (NO Docker Desktop Needed!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2022
  • Setting up Docker for Windows Containers manually is not really that hard to do. You can use Docker for Desktop, but if you don't want to pay for a license, you can easily set up the Docker Daemon and CLI utilities to work with all your favorite development tools like Visual Studio or VS Code. In this video, we'll go step-by-step for walking through this process.
    00:55 -- Turn on Container Support
    01:55 -- Download the Docker Daemon and Docker Client
    03:44 -- Add Environment Variables
    05:30 -- Start the Docker Daemon manually
    07:54 -- Install the Docker Daemon as a Windows Service
    10:22 -- Add Container Support to Visual Studio
    11:02 -- Create and Run an App using Windows Containers
    Get the Docker Daemon and CLI:
    download.docker.com/win/stati...
    Start the Docker Daemon from the CLI:
    dockerd -H tcp://localhost:2376
    Use SC to make the Docker Daemon a Windows Service:
    sc create Docker binPath= "c:\docker\dockerd.exe --run-service -H tcp://localhost:2376"
    Related Videos:
    How To Manually Create a Docker and Kubernetes Dev Environment: • How To Manually Create...
    ------
    Wintellect:
    WintellectNOW: www.wintellectnow.com/
    Blaize's Website: www.blaize.net/
    Twitter:
    Blaize: / theonemule
    Wintellect: / wintellect
    WintellectNOW: / wintellectnow
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @reginaldholland4906
    @reginaldholland4906 ปีที่แล้ว +3

    Dude you're so legit!I went through 10 different videos trying to install docker without desktop.Every one of them told me i had to use UBUNTU...all they did was lead from one problem to multiple problems.I followed your instructions and got it right the first time,thanks

  • @matthewdavis2475
    @matthewdavis2475 2 หลายเดือนก่อน

    Super top notch. I guess I know how Linux users feel now with so much Windows coverage bc the amount of Linux coverage is strong with Docker, understandably so, but still, once it starts to feel like a rabbit hole and a rat race just to get a basic confirmation of the capability up and running

  • @abhiksingh1999
    @abhiksingh1999 ปีที่แล้ว

    Thank you so much for this incredibly helpful video! I had been searching and researching extensively on how to configure Docker without installing Docker for Desktop, and your video provided the perfect solution. I followed your instructions and it worked like a charm.
    Now, I have one more request if you could kindly assist me. Could you please explain how to uninstall and remove all the Docker components we have set up? It would be immensely helpful for me to know the proper steps for a clean removal.
    Once again, thank you for sharing your knowledge and expertise through your videos. You've made a significant impact on my learning journey!

  • @RomanGWatch
    @RomanGWatch 9 หลายเดือนก่อน

    Oooh **** , I spent days, Thank you very much for this 🙇‍♂

  • @kidacrimson1204
    @kidacrimson1204 ปีที่แล้ว +1

    Good info, thanks!

  • @christianibiri
    @christianibiri ปีที่แล้ว +1

    Awesome video..... thank you

  • @yogeshlinganna521
    @yogeshlinganna521 2 ปีที่แล้ว +2

    Thanks for sharing.

  • @ronm6585
    @ronm6585 ปีที่แล้ว +1

    Thank you.

  • @aechennn
    @aechennn 5 หลายเดือนก่อน

    Hello Sir, when I try to pull image there’s error says no matching manifest for windows/amd64 in the manifest list entries

  • @illyatawgerchuk51
    @illyatawgerchuk51 ปีที่แล้ว +2

    Very nice! Also, no powershell :)

  • @kidacrimson1204
    @kidacrimson1204 ปีที่แล้ว +1

    I like the PowerShell 'service' commands:
    - GSV Docker #Get-Service
    - Start-Service Docker

  • @lenka2471
    @lenka2471 ปีที่แล้ว

    Hi, thank you for a video, I was heading one more issue - I wasn't in 'docker-users' group

    • @Atmosera-
      @Atmosera-  ปีที่แล้ว

      Did you figure it out?

  • @LeszekChojnacki
    @LeszekChojnacki ปีที่แล้ว

    "'dockerd' is not recognized as an internal or external command," any idea?

    • @Atmosera-
      @Atmosera-  ปีที่แล้ว +1

      Make sure it's in a place included by your PATH env variable.

  • @realps2739
    @realps2739 ปีที่แล้ว

    Hey guys, can someone tell me how to switch to Linux containers when using docker this way or does it even possible without docker desktop?

    • @Atmosera-
      @Atmosera-  ปีที่แล้ว +1

      Just point your docker context to a Linux host, and that changes the context to Linux. I use the DOCKER_HOST environment variable.

    • @realps2739
      @realps2739 ปีที่แล้ว +1

      @@Atmosera-
      Thanks!

  • @user-ue7xu6lv2w
    @user-ue7xu6lv2w 8 วันที่ผ่านมา

    ur a legend i make a powershell script
    for any windows
    that install docker engine + docker compose
    headless (no desktop menu)
    in .ps1 file
    let me know if someone wants it

  • @jannarkiewicz633
    @jannarkiewicz633 11 หลายเดือนก่อน

    I taught tech for a dozen years (native American English speaker). Your content is good but you talk fast. I don't have an issue understanding you but high tech has a lot of people with different levels of English proficiency. I gave you a thumbs up. Just constructive criticism.