I thought I understood Docker until I saw the BusyBox docker image

后端 未结 3 1155
我寻月下人不归
我寻月下人不归 2020-12-23 19:52

I thought I understood Docker. I understood it as a way to package up software with lots of dependencies..to basically create a little world where absolutely everything is t

3条回答
  •  爱一瞬间的悲伤
    2020-12-23 20:26

    But I don't understand at all why this image exists, which makes me think that I don't actually understand why Docker exists. What is the point of a BusyBox docker image?

    I just started using BusyBox with docker, but so far it has been convenient to use with the --rm command to create unsaved instances with common built in utilities like ping, and yeah just ping so far :/

    docker container run --rm -it --network [network_name] busybox
    

    and then all those utilities in BusyBox are available on that docker custom network and instantly destroyed when you exit the BusyBox CLI

提交回复
热议问题