Windows上的boot2docker缺少apt-get/软件包管理器 [英] boot2docker on windows missing apt-get / package manager

查看:152
本文介绍了Windows上的boot2docker缺少apt-get/软件包管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在boot2docker中.我不确定我是否完全理解它,但是对于我正在进行的项目来说似乎是必需的.

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 our project, but I got

make: not found

然后我尝试了:

apt-get install make

然后得到

apt-get: not found

尝试使用谷歌搜索,但找不到任何有关此信息或包管理器的信息.

Tried googling, but couldn't find anything about that, or any package manager.

关于如何在boot2docker中安装任何内容的任何建议?

Any suggestions on how to install anything in boot2docker?

当我问这个问题时,我误会了boot2docker和docker如何协同工作.实际上有一个软件包管理器(tce-load)允许安装软件包,但实际上,不应使用它,涉及使用docker的项目的任何内容都应在boot2docker内使用docker容器,并在其中包含构建工具.尽管我确实发现tce-load在安装nano方面很有用,但是由于我不是vi的粉丝,所以有时很有用.

When I asked this I misunderstood how boot2docker and docker worked hand in hand. There is actually a package manager (tce-load) that allows install of packages, but really, it shouldn't be used and anything involving a project using docker should be using a docker container within boot2docker that has the build tools inside of that. Although I did find tce-load useful installing nano, since I'm not a fan of vi and that's occationaly useful.

推荐答案

似乎boot2docker使用Tiny Linux,它有自己的软件包管理器,称为"tce-load".这里有一个软件包列表:

Seems boot2docker uses Tiny Linux which has its own package manager called "tce-load". There's a list of packages for it here:

http://distro.ibiblio.org/tinycorelinux/tcz_2x.html

有一切需要做的东西,或者位于那里的任何东西.

There's everything that's needed to make or whatever located there.

这篇关于Windows上的boot2docker缺少apt-get/软件包管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆