Comments (8)
Good point, I will do that. @ChristianHeimke thx
from duckrails.
also does not work when using Swarm :/
from duckrails.
is there any chance to have it fixed within next days? sorry I have no Ruby knowledge to be able to fix it by myself :/
from duckrails.
any volunteers to help with that? :)
from duckrails.
I just stumbled over your issue, maybe you found the answer finally ;-) If not, this will maybe help you out:
You're calling docker with the wrong parameters:
# wrong
docker run --name=example_iridakos.duckrails.release-v2.1.5 -v=/Users/krystian.panek/Projects/gradle-aem-multi/duckrails:/opt/duckrails/db -p=8080:80 --rm iridakos/duckrails:release-v2.1.5
# right
docker run --name=example_iridakos.duckrails.release-v2.1.5 -v /Users/krystian.panek/Projects/gradle-aem-multi/duckrails:/opt/duckrails/db -p 8080:80 --rm iridakos/duckrails:release-v2.1.5
What's the diff? You shouldn't use =
on short params like -p
or -v
. If you want to use it, you need to pass the double dash and the "full wording", e.g. --volume=...
or --port=...
Maybe this will help :) I just tested the command from the docs:
docker run -p 8080:80 -v duckrails:/opt/duckrails/db iridakos/duckrails:latest
and it worked out of the box.
from duckrails.
maybe... but I tested/repeated error when configuring container in compose file where these quotes don't matter.
how about that? @ChristianHeimke #58 (comment)
from duckrails.
yes, you're right.
I'm just guessing, but maybe it's related to the docker-entrypoint.sh
, which will bootstrap the database and tables. maybe you can check out the difference of your file and the provided compose files:
- https://github.com/iridakos/duckrails/blob/master/docker-compose.yml
- https://github.com/iridakos/duckrails/blob/master/docker-compose-single.yml
I've tested the first one and it worked as expected. Maybe.. it is also related to the 2.1.5 version - I've not tested this specific one, just the lastest and the compose file with building the current source.
from duckrails.
I guess it could be somehow addressed by providing correct docker compose file so does not affect directly Duckrails app.
from duckrails.
Related Issues (20)
- support dummy-json templates
- how to set delays HOT 2
- Help execute Duckrails in Docker TTY HOT 1
- Create mock with return alternative HOT 1
- Request HTTP in ResponseBody HOT 2
- Overwriting headers in Advanced causes 500
- Dupplicating a mock
- Where application Logs are?
- pass JSON values from request to response HOT 1
- How to use query parameters? HOT 1
- Overwrite status code return HOT 1
- Validation parameter in advanced mode HOT 2
- Getting request header dynamically using Javascript
- SQLite3::SQLException HOT 1
- I need to configure postgres from aws HOT 1
- How better computer definition to run duckrails
- Can't install capybara-webkit because of lack of support from Qt 5.6+
- Cant run the docker image in Mac with Apple chip HOT 1
- Support Search on mocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckrails.