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

135

Comments

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    I could create directory under /home and then executed clone command and getting below error

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

    yes, i gave you the wrong command. Please use git clone <https://github.com/spryker-shop/b2c-demo-shop>

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok

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

    now the spryker repo is downloading. you can then proceed to download the docker/sdk as described above

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok thats running, will update you once thats complete, goinng for dinner

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    thank you so much for your help, after that can I follow the document steps

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    there are so many other setups in the doc for Docker installation

  • Thomas Lehner
    Thomas Lehner Support Engineer @ Spryker Posts: 289 πŸ› - Council (mod)
    edited November 2020

    once you have that, set the correct ownership for the project folder

    cd ..\

    sudo chown -R 1000:1000 <your directory>
    cd <your directory>

    Bootstrap and start the Srpyker dockerdocker/sdk boot deploy.dev.yml && docker/sdk up

    I will be off for today, but let me know if that worked or not. After that is working, you will just need to deal with docker sync and setting up your developer environment

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    in the docker setup document shared above it says to Install DOcker, DOcker Compose, Install OCaml, Unison

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    do I need to run all those commands

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

    lets first check whether WSL2 and docker setup works and have a minimum viable setup

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    is this complete one command "dockerdocker/sdk boot deploy.dev.yml && docker/sdk up"?

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

    it is docker/sdk boot deploy.dev.yml && docker/sdk up the && combines the two commands

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    Got aboev error, also I installed the latest available Desktop DOcker

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

    in ubuntu write sudo docker info

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

    please let me know the output

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    Below is the output

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    Client:
    Debug Mode: false
    Plugins:
    buildx: Build with BuildKit (Docker Inc., v0.4.2-tp-docker)
    scan: Docker Scan (Docker Inc., v0.3.4)
    app: Docker Application (Docker Inc., v0.8.0)

    Server:
    Containers: 0
    Running: 0
    Paused: 0
    Stopped: 0
    Images: 0
    Server Version: 19.03.13
    Storage Driver: overlay2
    Backing Filesystem: extfs
    Supports d_type: true
    Native Overlay Diff: true
    Logging Driver: json-file
    Cgroup Driver: cgroupfs
    Plugins:
    Volume: local
    Network: bridge host ipvlan macvlan null overlay
    Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
    Swarm: inactive
    Runtimes: runc
    Default Runtime: runc
    Init Binary: docker-init
    containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
    runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
    init version: fec3683
    Security Options:
    seccomp
    Profile: default
    Kernel Version: 4.19.128-microsoft-standard
    Operating System: Docker Desktop
    OSType: linux
    Architecture: x86_64
    CPUs: 8
    Total Memory: 24.95GiB
    Name: docker-desktop
    ID: BR62:6ED5:DPQR:2PTH:C2NQ:QNMH:VETD:6JZ4:432H:ZMGL:EOOY:XPK6
    Docker Root Dir: /var/lib/docker
    Debug Mode: false
    Registry: https://index.docker.io/v1/
    Labels:
    Experimental: true
    Insecure Registries:
    127.0.0.0/8
    Live Restore Enabled: false
    Product License: Community Engine

    WARNING: bridge-nf-call-iptables is disabled
    WARNING: bridge-nf-call-ip6tables is disabled

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

    then please try sudo docker/sdk boot deploy.dev.yml && sudo docker/sdk up for now in your spryker directory

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    got below error

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    [+] Building 0.0s (3/3) FINISHED
    => [internal] load .dockerignore 0.1s
    => => transferring context: 48B 0.0s
    => [internal] load build definition from Dockerfile 0.1s
    => => transferring dockerfile: 814B 0.0s
    => ERROR resolve image config for docker.io/docker/dockerfile:experimental 1.8s
    ------β”€β”€β”˜ β””β”€β”€β”€β”˜

    resolve image config for docker.io/docker/dockerfile:experimental:


    failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, out: ``

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

    enter sudo docker login and login with your docker credentials

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

    then repeat the commands

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    I dont have docker credentials, let me create one

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    oh its asking for docker id, I dont have it

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

    create it

  • U01BH6ZNS8H
    U01BH6ZNS8H Posts: 80 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok created and now when i try to login getting below error