-
Notifications
You must be signed in to change notification settings - Fork 184
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
When starting S3Mock in Docker, root folder is not accessible from outside of the container #1728
Comments
yes and no. The property works for the application, but not the Docker container. Since the S3Mock application is running inside Docker, the folder you specify in If you want so see the data in your local file system, you'll have to create a directory and mount it so it's accessible from inside the Docker container, for example:
Then, Docker will be able to access your file system. |
Example:
|
Thanks for the swift reply, that works perfectly now. |
@ocostello I added this description to the README.md, as it's hopefully helpful for other users as well: |
I'm attempting to set adobe/S3Mock up on my local machine, so that
retainFilesOnExit
is enabled and where I've pointed the root folder somewhere that I can view.My
docker-compose.yml
looks like so:and when I start the server, the logs say that the root folder has been created:
but I can't find it myself. I'm expecting it to appear in the directory I started the server in, and if not there then just at root
/s3container
but it isn't at either location.Am I seriously misunderstanding this
root
config, and if so could it be better explained in the docs.The text was updated successfully, but these errors were encountered: