Last active
October 13, 2017 10:53
-
-
Save hamdouni/087697ddb89cd72c2ebaa3c0d6fc298c to your computer and use it in GitHub Desktop.
Lunch a docker container with less cpu ressource (simulate slow machine)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example with a mysql container running at 10% cpu | |
docker run --cpu-quota=10000 --name esc-db -d --volumes-from dbdata -p 127.0.0.1:3306:3306 -v $(pwd)/data:/data softinnov/esc-db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment