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

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.

Welcome!

It looks like you're new here. Sign in or register to get started.
ยซ1345

Comments

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

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

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

    Are you able to use WSL2?

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

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

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

    can you please open powershell and enter wsl --list

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

    please post the output

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

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

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

    have you done that?

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

    Yes

  • 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

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

    ok

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

    Here is the output

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

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

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

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

  • 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

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

    ok

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

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

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

    so you might aswell

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

    ok

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

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

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

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

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

    what shpould I provide for name of the image here plz

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

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

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

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

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

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

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

    it is correct then

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

    ok

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

    ok done

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

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

  • 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

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

    is the below correct?

Welcome!

It looks like you're new here. Sign in or register to get started.