You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/10/23 06:59:24 UTC
[GitHub] [drill] developeer opened a new issue #2346: docker does not mount host volume into container
developeer opened a new issue #2346:
URL: https://github.com/apache/drill/issues/2346
**Describe the bug**
docker does not mount volume into apache drill container
**To Reproduce**
docker run -i --name drill \
-p 8047:8047 \
-t apache/drill \
-v ${PWD}/data:/data \
/bin/bash
In another terminal run:
docker exec -it drill bash
ls /data
ls: cannot access '/data': No such file or directory
**Expected behavior**
should mount the /data volume
**Desktop (please complete the following information):**
tested in both
- OS: windows 10/wsl2/Ubuntu-20.04.3
- OS: ubuntu focal -
Tested with simple command with different container and docker mounts volume
docker run --rm -v ${PWD}/data:/data alpine ls /data
nation.parquet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer edited a comment on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer edited a comment on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950107619
The documentation should have be as follows:
docker run -i --name drill \
-p 8047:8047 \
-v ${PWD}/data:/data \
apache/drill \
/bin/bash
This will mount the volume.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer commented on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer commented on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950107619
The documentation should have be as follows:
docker run -i --name drill \\
-p 8047:8047 \\
-v ${PWD}/data:/data \\
apache/drill \\
/bin/bash
This will mount the volume.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer edited a comment on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer edited a comment on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950869406
If you want to test with a tool like dbeaver or tableau etc.., you will need the other drill ports available
docker run -i --name drill \
-p 8047:8047 \
-p 31010:31010 \
-p 31011:31011 \
-p 31012:31012 \
-v ${PWD}/data:/data \
apache/drill \
/bin/bash
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer commented on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer commented on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950869406
If you want to test with a tool like dbeaver or powerbi etc.., you will need the other drill ports available
docker run -i --name drill \
-p 8047:8047 \
-p 31010:31010 \
-p 31011:31011 \
-p 31012:31012 \
-v ${PWD}/data:/data \
apache/drill \
/bin/bash
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer commented on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer commented on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950888060
Hopefully this will make it easier for engineers to test drive drill.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] dzamo commented on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
dzamo commented on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950875418
Great point. I think just 31010 will be sufficient for JDBC clients, the other two are for Drill nodes to talk to each other in a cluster.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] developeer closed issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
developeer closed issue #2346:
URL: https://github.com/apache/drill/issues/2346
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [drill] dzamo commented on issue #2346: docker does not mount host volume into container
Posted by GitBox <gi...@apache.org>.
dzamo commented on issue #2346:
URL: https://github.com/apache/drill/issues/2346#issuecomment-950694250
Thanks for coming back once you'd debugged this. I've fixed the docs accordingly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org