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 i just tried to install the latest b2c demo with docker on my windows wsl setup. when i try to

1235Β»

Comments

  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet

    still same error

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2020
    docker run -i --rm -mount type=volume,source=$(pwd)/docker,destination=/data/deployment alpine ls -al /data/deployment/deployment/_tmp
    
  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ docker run -i --rm -mount type=volume,source=$(pwd)/docker,destination=/data/deployment alpine ls -al /data/deployment/deployment/_tmp
    invalid argument "ount" for "-m, --memory" flag: invalid size: 'ount'
    See 'docker run --help'.
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ docker run -i --rm --mount type=volume,source=$(pwd)/docker,destination=/data/deployment alpine ls -al /data/deployment/deployment/_tmp
    docker: Error response from daemon: create /home/timo/b2c-demo-shop/docker: "/home/timo/b2c-demo-shop/docker" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
    See 'docker run --help'.
    
  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Ah.. my bad…

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    docker volume create --name my_test_volume --opt type=none --opt device=$(pwd)/docker --opt o=bind
    
  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    docker volume inspect my_test_volume

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    docker run -i --rm -mount type=volume,source=my_test_volume,destination=/data/deployment alpine ls -al /data/deployment/deployment/_tmp
    
  • UMJ465PLG
    UMJ465PLG Posts: 72 πŸ§‘πŸ»β€πŸš€ - Cadet
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ docker volume create --name my_test_volume --opt type=none --opt device=$(pwd)/docker --opt o=bind
    my_test_volume
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$ docker volume inspect my_test_volume
    [
        {
            "CreatedAt": "2020-03-26T22:11:02Z",
            "Driver": "local",
            "Labels": {},
            "Mountpoint": "/var/lib/docker/volumes/my_test_volume/_data",
            "Name": "my_test_volume",
            "Options": {
                "device": "/home/timo/b2c-demo-shop/docker",
                "o": "bind",
                "type": "none"
            },
            "Scope": "local"
        }
    ]
    timo@DESKTOP-RFFOEP5:~/b2c-demo-shop$
    
  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    I assume something is missed in link between Windows and WSL. But who knows. I will try to reach our devops with this.