How to limit IO speed in docker and share file with system in the same time?

Viewed 15118

Temporarily, I use the -v param like /rootfs/shared_dir:/docker/docker_file.

My container creates some data file in the folder and I want to share the folder with my system.

Also I want to limit the IO speed in the docker container. How can I do this?

2 Answers
Related