docker image ls
docker run –d –name container_name image_name
docker ps
docker logs “container_id or container name”
docker exec –it “container_id” /bin/bash
docker top “container_id”
docker logs --tail 50 --follow --timestamps containername
docker run -it --entrypoint sh docker_image
docker run -d \
--name graphite \
--restart=always \
-p 8080:80 \
-p 2003-2004:2003-2004 \
-p 2023-2024:2023-2024 \
-p 8125:8125/udp \
-p 8126:8126 \
-v /Data/graphite/conf:/opt/graphite/conf \
-v /Data/graphite/storage:/opt/graphite/storage \
-v /Data/statsd/config:/opt/statsd/config \
graphiteapp/graphite-statsd
2020-06-15