通過(guò)volume,將docker、docker.sock掛載到j(luò)enkins容器中,在該容器內(nèi)執(zhí)行docker run --link redis:redis --name test -d test報(bào)如下錯(cuò)誤:docker: Error response from daemon: Cannot link to /redis, as it does not belong to the default network.是因?yàn)樵谌萜鲀?nèi)執(zhí)行的原因嗎?
Docker --link時(shí)報(bào)錯(cuò),不屬于默認(rèn)網(wǎng)絡(luò)?
繁華開滿天機(jī)
2019-02-04 09:05:07