cli_app_testing.md (424B)
1 # cli app testing 2 3 ## requirements 4 * check `curl` version 5 * use `centos:7` and `ubuntu:14.04` 6 * centos: `yum update curl` 7 * ubuntu: `apt-get update && apt-get install curl` 8 * use `docker container --rm` for easy clean up 9 10 ## answers 11 ``` 12 docker container run --rm -it centos:7 bash 13 yum update curl 14 curl --version 15 docker container run --rm -it ubuntu:14.04 bash 16 apt-get update && apt-get install curl 17 curl --version 18 ```