Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images with relative volumes don't work #2

Open
eschrock opened this issue Sep 20, 2019 · 0 comments
Open

Images with relative volumes don't work #2

eschrock opened this issue Sep 20, 2019 · 0 comments
Labels
Priority: Normal Issues to be address during sprint Type: Bug Something isn't working

Comments

@eschrock
Copy link
Contributor

Expected Behavior

I tried to use this image:

https://github.com/misoca/dynamodb-local-persist

Which has an odd local volume directive:

VOLUME ["./db"]

Apparently you can have volumes relative to WORKDIR. We should support this.

Actual Behavior

$ titan run -- --name hello-world -p 8000:8000 -d misoca/dynamodb-local-persist:latest
Creating repository hello-world
Creating docker volume hello-world/v0 with path ./db
Exception in thread "main" io.titandata.titan.exceptions.CommandException: Command failed: [docker, run, --label, io.titandata.titan, --mount, type=volume,src=hello-world/v0,dst=./db,volume-driver=titan, --name, hello-world, -p, 8000:8000, -d, misoca/dynamodb-local-persist@sha256:5992a12934e9408dcb39b8f89a7c9598b81ba914b17c59f91f6cc112014666a4]

Steps to Reproduce the Problem

Try to run misoca/dynamodb-local-persist:latest under titan

Version

Titan 0.3.0

@mcred mcred added Type: Feature New feature or request Type: Bug Something isn't working Priority: Normal Issues to be address during sprint and removed Type: Feature New feature or request labels Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Issues to be address during sprint Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants