你差一点就完成了,但却犯了个错误
http:\\
应该在哪里
http://
所以,字符串看起来像:
docker run -it --rm --name test ubuntu sh -c "echo 'Input website:'; read website; echo 'Searching..'; sleep 1; curl http://$website;"