Boot2Docker无法识别"sudo","tce-load"或"tce-load". [英] Boot2Docker doesn't recognize "sudo", "tce-load"

查看:114
本文介绍了Boot2Docker无法识别"sudo","tce-load"或"tce-load".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 7(64位)上运行Boot2Docker. Boot2Docker应该基于Tiny Core.我正在尝试安装docker-compose(我仍在处理的另一个问题),以及几个帮助主题(例如

I'm running Boot2Docker on Windows 7 (64 bit). Boot2Docker is supposed to be based on Tiny Core. I was trying to install docker-compose (a separate issue that I'm still working on), and several help topics (such as How to install docker-compose on Windows) suggested using commands involving both sudo and tce-load. Boot2Docker gives error:command not found when I try to use these commands. I've poked around in the /bin folder and sure enough, neither has a file. Other commands that I can use correctly, like the usual ls, cd, rm, etc., exist in the /bin folder. Even if Boot2Docker for some reason took out tce-load from Tiny Core (although most help posts show it working), sudo should still exist in a unix environment, no?

在这些命令正常可用之前,我是否需要首先下载/安装某些东西,或者Boot2Docker是否正在发生某些事情?我是使用VM的新手,所以这可能很简单.我尝试重新安装,但没有执行任何操作.我搜索了很多与docker,docker-compose,boot2docker,微小核心相关的帮助主题,但是我什么都没找到.

Is there something I need to download/install first before these commands would be available normally, or is there something going on with Boot2Docker? I'm new with using VMs so it could be something simple. I tried reinstalling and that did nothing. I've searched a lot of help topics related to docker, docker-compose, boot2docker, tiny core, and I haven't found anything.

推荐答案

原来我要做的就是运行Boot2Docker,然后键入boot2docker ssh.实际上,它连接到Unix VM. Windows shell运行docker命令的过程.

It turns out all I needed to do was run Boot2Docker then type boot2docker ssh. This actually connects to the Unix VM, instead of running docker commands from a Windows shell.

这篇关于Boot2Docker无法识别"sudo","tce-load"或"tce-load".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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