docker一些命令,工具
redis-client
$ docker run -it --network some-network --rm redis redis-cli -h some-redis
curl
docker run --rm \
--network host \
--name curl-docker \
alpine curl localhost:80
ifconfig
docker run --rm busybox ifconfig
docker一些命令,工具
redis-client
$ docker run -it --network some-network --rm redis redis-cli -h some-redis
curl
docker run --rm \
--network host \
--name curl-docker \
alpine curl localhost:80
ifconfig
docker run --rm busybox ifconfig