Coder Social home page Coder Social logo

Comments (8)

pun-ky avatar pun-ky commented on May 22, 2024 1

Good point, I will do that. @ChristianHeimke thx

from duckrails.

pun-ky avatar pun-ky commented on May 22, 2024

also does not work when using Swarm :/

image

from duckrails.

pun-ky avatar pun-ky commented on May 22, 2024

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.

pun-ky avatar pun-ky commented on May 22, 2024

any volunteers to help with that? :)

from duckrails.

ChristianHeimke avatar ChristianHeimke commented on May 22, 2024

@pun-ky

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.

pun-ky avatar pun-ky commented on May 22, 2024

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.

ChristianHeimke avatar ChristianHeimke commented on May 22, 2024

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:

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.

pun-ky avatar pun-ky commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.