Accessing docker host from (jenkins) docker container

前端 未结 3 562
名媛妹妹
名媛妹妹 2021-01-15 05:51

I need to run docker commands from jenkins which is installed as a container on docker. My local setup is on an OSX and I use boot2docker to virtualize the docker machine.

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-15 06:26

    This should probably be a comment on the previous answer, but that does not seem possible. This is just a note to remind folks that listening on 0.0.0.0 means listening on whatever publicly routable interfaces might be connected to any physical or virtual network interface configured on your system. Prudence suggests limiting your exposure to only an internal network, less likely to encounter hostile forces with ill intent.

提交回复
热议问题