Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello, we are trying to setup Docker in windows 10 OS and we are following the steps in the document

Options
U01BH6ZNS8H
U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet

Hello, we are trying to setup Docker in windows 10 OS and we are following the steps in the document, where we are unable to complete the below ubuntu update steps because we do not find the file etc/wsl.conf anywhere in the system. Could somebody help.

«1345

Comments

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    @U01BH6ZNS8H /etc/wsl.conf can be created if it is not already in the WSL linux

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    Are you able to use WSL2?

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    HI Thomas, thank you so much for the quick response, I am new to all these, I never used WSL2

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    can you please open powershell and enter wsl --list

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    please post the output

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    SOrry I am in SPryker training, so delayed, below is the output

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    have you done that?

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    Yes

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    sorry, tried that in the wrong laptop, I will run that in the laptop where it is turned on and let you know, please give me some time

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    Here is the output

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    ok. can you please download Ubuntu 20.04 LTS using the Windows Store?

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    Yes I can but do I need to uninstall 18.04 version first?

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    After that is done, you enter wsl --list again to see the images you have. you should then see the ubuntu 20.04 version. This version, we will try to upgrade to wsl 2 by entering wsl --set-version <name of the image> 2

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    ok

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    uninstalling is not necessary, but you will not need that image anymore

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    so you might aswell

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    ok installed 20.04 version and command wsl --list shows this version

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    then proceed to wsl --set-version <name of the image> 2

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    what shpould I provide for name of the image here plz

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    the name of the image for the ubuntu 20.04 as shown with the wsl --list command

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    should it be "wsl --set-version Ubuntu-20.04 2"?

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    if that is what wsl --list says that the image is called, yes

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    it is correct then

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    ok done

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    perfect. Now start up your ubuntu, login and sudo apt update && sudo apt upgrade

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 🏛 - Council (mod)
    Options

    once done, make sure your docker for windows is on the very latest version and activate the WSL integration via Resourecs>WSL Integration for your Ubuntu

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 🧑🏻‍🚀 - Cadet
    Options

    is the below correct?