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 guys, I am getting this error when I try to run `docker/sdk bootstrap` for the first time File
Comments
-
one more thing :
when I first run the command it complained that I have docker-compose version 2 and that I should have at least 1.22 😅 , I found out that I have another docker-compose command :
docker-compose-v1
so I didmv docker-compose docker-compose-v2
andmv docker-compose-v1 docker-compose
does this look ok ?0 -
You can disable docker compose v2.
Open docker preferences and you should see “disable docker compose v2” or something similar0 -
or using cli
docker-compose disable-v2
0 -
thanks I will try this
0 -
Yep, there is a checkbox in the Docker Desktop to use composer v2.
0 -
-
Thank you very much I will look at it
0 -
Hi @valerii.trots
I am getting this error when I try to startElastica\Exception\Connection\HttpException - Exception: Couldn't connect to host, Elasticsearch down? in /data/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php (190) Command: vendor/bin/console search:setup:sources
0 -
@UM9F81RCP make sure that you gave Docker enough resources to start all containers.
0 -
I cannot give 14GB Ram!! hahah
0 -
I have 16 only
0 -
I gave 6 of them to docker
0 -
well, you don’t need so much, but as much as you can
0 -
btw I dont see a container for elastic search .. which one is it?
0 -
it is probably not running because it couldn’t start. Try giving docker more resources, restart the daemon and try docker/sdk up again
0 -
but in this case it should show an error?
0 -
I dont see errors
0 -
Do you have it defined in the deploy file like https://github.com/spryker-shop/b2c-demo-shop/blob/master/deploy.dev.yml#L173?
0 -
And per store like https://github.com/spryker-shop/b2c-demo-shop/blob/master/deploy.dev.yml#L33?
0 -
I copied the docker.dev.yaml as is without change from b2b demo shop code
0 -
both store and service are defined
0 -
oh btw I found the search container
0 -
but there are no errors in the log
0 -
can I run something like verndor/bin/install
I remember that we could something like that in gateway container but how?
0 -
docker/sdk cli
and there you will be able to run any console commands.
But workflows are a bit different in docker env.For example you can just "reset" demo data by running
docker/sdk demo
.
Or build the project after you checked out other branch by runningdocker/sdk build
.
Or reset the project completely (like vendor/bin/install) by runningdocker/sdk reset
.0 -
hmm thanks
0 -
I will try to do some debugging
0 -
it looks like the configs got mixed because I included a file in the docker config that shulld not be there
0 -
but now I get an exception
Elastica\Exception\ResponseException - Exception: Root mapping definition has unsupported parameters: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