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..
Hi, I've got a problem with the Docker Installation Prerequisites on Windows.
Hi,
I've got a problem with the Docker Installation Prerequisites on Windows.
https://documentation.spryker.com/docs/docker-installation-prerequisites-windows
The point "Install Unison" does not work completely for me.
Here are my questions:
I have no idea what unison and OCaml are used for. Can someone explain what it is needed for ?
I can't complete the Unison installation.
The last command, named:
"shell make UISTYLE=text sudo cp src/unison /usr/local/bin/unison sudo cp src/unison-fsmonitor /usr/local/bin/unison-fsmonitor"
Does not work completely for me.
I tried only "sudo make UISTYLE=text" this worked.
But the part
"sudo cp src/unison /usr/local/bin/unison sudo cp src/unison-fsmonitor /usr/local/bin/unison-fsmonitor"
does not work
it says:
make: *** No rule to make target 'sudo'. Stop.
How to get this completed ?
Comments
-
I have no idea what unison and OCaml are used for. Can someone explain what it is needed for ?
These are dependencies for
docker-sync
.Basically our guide just refers to original one from the author of
docker-sync
- https://docker-sync.readthedocs.io/en/latest/getting-started/installation.html#windows.0 -
Ok, this answers my first question. Thx. Do you also have an idea when it comes to my second question ?
0 -
I just checked and seems that there is formatting corrupted in this version of the documentation you are reffering to.
Here is the correct one - https://documentation.spryker.com/v3/docs/docker-install-prerequisites-windows-2019070 -
But it doesn't mean that you will succeed in installing docker for windows correctly in the end. Personally I wasn't able to run docker as there are some errors due to
marshaling
something.0 -
For me the only option is to use Vagrant in Windows at the moment.
0 -
So this means that spryker in docker running windows as os is not officially provided ?
0 -
This means that for some it works ok. But for some, as for me, for example, it doesn't work. Spryker has nothing to do with this unfortunately.
0 -
Ok, thank you very much !
0 -
At the same time the team responsible for docker solution is working on the alternatives to
docker-sync
. So hopefully soon it will be working for all in Windows as well.0 -
Sounds well
0 -
Another question/problem:
https://documentation.spryker.com/v3/docs/docker-install-prerequisites-windows-201907
What went wrong if I get "cp: cannot stat 'src/unison': No such file or directory"
in the point "d. Compile and install Unison:"
?
0 -
Wrong path? You are not in the correct directory or something? IDK.
0 -
I'm in
/home/adminlnx/ocaml-4.06.0/unison-2.51.2
if I see the point c. Change the directory:
cd unison-2.51.2
this should be the right one I guess
0 -
Then everything should work flawlessly. Β―_(γ)_/Β―
0 -
If installation of proper version on host is the problem,
you can use custom docker-sync image with exact version you have on the host:docker build --build-arg "OCAML_VERSION=4.06.0" --build-arg "UNISON_VERSION=2.51.2" -t custom-docker-image-unison .
and deploy.yml file
... docker: ... mount: docker-sync: ... image: custom-docker-image-unison
However you would need to build image everytime after you prune docker images. Or you can just push it in dockerhub and use public tag.
0 -
@US04LPPLG Would you be able to put this in the instruction? Thanks forehand.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random