Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Docker Installation on Windows #28

Closed
SC-cmarquardt opened this issue Jun 6, 2019 · 14 comments
Closed

Docker Installation on Windows #28

SC-cmarquardt opened this issue Jun 6, 2019 · 14 comments
Assignees

Comments

@SC-cmarquardt
Copy link

Hi,

I trying to install Shopware 6 locally on windows using a Linux Subsystem (WSL).
After running
psh.phar docker:start
I connect to the running container using
psh.phar docker:ssh

According to the documentaion I shall now be able to install Shopware with
psh.phar install.

But the whole /app directory of the Docker container is empty except for a mysql directory in /dev-ops/docker/_volumes

Am I missing a step or is it just impossible to run the container on a Windows system?

Kind regards,
Christopher

@aahmadts
Copy link

aahmadts commented Jun 7, 2019

I was also not able to run the development environment on Windows even using a Linux subsystem.

After checking the installation requirements many times, it looks to me that this environment works only on Linux based systems.

https://docs.shopware.com/en/shopware-platform-dev-en/getting-started/requirements

@keulinho
Copy link
Contributor

Where did you run the psh.phar install.
This command needs to run inside the docker container.

Is there any error log, when running that command or when starting the docker container?

@benjamenjohnsondev
Copy link

benjamenjohnsondev commented Jun 11, 2019

@keulinho

there is no ./psh.phar file in the Docker container:

> docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u 1000:1000 -t e443d24c67ef6bceb1abdee25a29a6b0da0fd32a7203345e597aa361cdaa290f bash
application@e443d24c67ef:/app$ pwd
/app
application@e443d24c67ef:/app$ ls
dev-ops
application@e443d24c67ef:/app$
root@e443d24c67ef:/app# pwd
/app
root@e443d24c67ef:/app# ls
dev-ops

@keulinho
Copy link
Contributor

Ok maybe this is related to this issue from docker under windows.
It seems that you have to set the COMPOSE_CONVERT_WINDOWS_PATHS in your enviroment or something is wrong with the shared drive credentials.
Please try the fix described here.

@benjamenjohnsondev
Copy link

No luck for me on this personally - volumes still missing. Shared drive credentials are correct - incorrect credentials throws a login error

@xource-tech
Copy link

Are there updates planned for windows docker installation? Can't get it to work either.

@janbuecker janbuecker self-assigned this Jul 30, 2019
@S-M-O
Copy link

S-M-O commented Aug 5, 2019

I also have problems to get shopware 6 development version running in windows.

I tried using windows subsystem for linux using ubuntu 18.04 LTS and running the first command
./psh.phar docker:start throws this error

(1/2) Starting dev-ops/docker/scripts/check_permissions.sh : not found 1: dev-ops/docker/scripts/check_permissions.sh

So it seems this php script runner is not able to execute the shell scripts correctly.
@SC-cmarquardt what subsystem do you use that this is running on your side?

Best regards,
Stefan

@xource-tech
Copy link

@StefanMetzOrlob I found just installing a dual boot Ubuntu 18.04 the easiest solution. Works perfectly in there.

@SC-cmarquardt
Copy link
Author

@StefanMetzOrlob I'm also working with an Ubuntu system.

@dtrilsbeek You have all files present?

@xource-tech
Copy link

@SC-cmarquardt Yes, but on a standalone ubuntu. Not on a windows subsystem.

@SC-cmarquardt
Copy link
Author

@dtrilsbeek okay, this is something I can also confirm for a standalone Debian. Probably the problem occurs because of the Windows Docker runtime.

@babita-web
Copy link

Hello ,
I also have same problem. at WSL it gives error for ./psh.phar docker:start command

docker_start_error
](url)

@shyim
Copy link
Member

shyim commented Jan 21, 2021

There are working solutions like: https://dockware.io/ or WSL2 with Docker (Anything needs to be done in the WSL Distro) which works for Shopware 6.

@shyim shyim closed this as completed Jan 21, 2021
@marcos-guillen
Copy link

For me it worked by changing the CR/LF for LF

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants