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

Readme: Fixing it #646

Merged
merged 5 commits into from
Apr 27, 2022
Merged

Readme: Fixing it #646

merged 5 commits into from
Apr 27, 2022

Conversation

fclairamb
Copy link
Owner

Fixes #629

README.md Outdated
# Compare it
diff kitty.jpg kitty2.jpg
# Starting the sample FTP server
docker run --rm -d -p 2121-2130:2121-2130 -v $(pwd):/app fclairamb/ftpserver
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for not including the /tmp path to the files directory you created above.
To make the data persistent

docker run --rm -d -p 2121-2130:2121-2130 -v $(pwd)/files:/tmp -v $(pwd):/app fclairamb/ftpserver

Am I missing something in the documentation ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I hesitated and left the files directory and dropped the -v $(pwd)/files:/tmp... Because /tmp is not the smartest path for persistence 😬 and I would like to keep the local & docker config common for the demo.

But I guess I can keep it that way.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you are right, /tmp for once is quite ambiguous in certain sense.

@fclairamb
Copy link
Owner Author

@dunefro good for you now ?

@dunefro
Copy link

dunefro commented Apr 27, 2022

@fclairamb Yes

@fclairamb fclairamb enabled auto-merge (squash) April 27, 2022 19:45
@fclairamb fclairamb merged commit e1a8108 into main Apr 27, 2022
@fclairamb fclairamb deleted the fix/readme branch April 27, 2022 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker run command failed "./ftpserver" includes invalid characters for a local volume name
2 participants