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

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)

    @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)

    Are you able to use WSL2?

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    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)

    can you please open powershell and enter wsl --list

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    please post the output

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    have you done that?

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Yes

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    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)

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Here is the output

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

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

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    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

    ok

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    so you might aswell

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

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

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    what shpould I provide for name of the image here plz

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

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

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

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

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    it is correct then

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    ok done

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 ๐Ÿ› - Council (mod)

    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)

    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

    is the below correct?