boot2docker on windows missing apt-get / package manager

前端 未结 3 2209
-上瘾入骨i
-上瘾入骨i 2021-02-18 19:02

I\'m in boot2docker. I\'m not entirely sure I understand it completely, but it seems to be needed for a project I\'m on.

I\'ve ssh\'d in, and I tried to do a make on ou

3条回答
  •  深忆病人
    2021-02-18 19:18

    Only linux can run docker so when running on osx or windows you must use boot2docker. boot2docker is just running a linux vm that has docker installed. Once you are using boot2docker you use docker like you would normally.

    The boot2docker vm is not where you should be installing things, what you should be doing is running a container that has the programs you need installed. This can be accomplished by finding a useful image from the docker registry or by making your own docker image.

提交回复
热议问题