requirements

  • check curl version
  • use centos:7 and ubuntu:14.04
    • centos: yum update curl
    • ubuntu: apt-get update && apt-get install curl
  • use docker container --rm for easy clean up

answers

docker container run --rm -it centos:7 bash
	yum update curl
	curl --version
docker container run --rm -it ubuntu:14.04 bash
	apt-get update && apt-get install curl
	curl --version