Created
June 14, 2021 12:34
-
-
Save till/f1e13695fd51d2c2e26ff4d36687fc01 to your computer and use it in GitHub Desktop.
Creating a Docker volume?
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
$ curl -s -o /dev/null -w "%{http_code}" -X POST \ | |
-d '{"Name":"till-test"}' \ | |
-H 'Content-Type: application/json' http://localhost:2375/volumes/create | |
201 | |
$ curl -s -o /dev/null -w "%{http_code}" -X POST \ | |
-d '{"Name":"till-test"}' \ | |
-H 'Content-Type: application/json' http://localhost:2375/volumes/create | |
201 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment