Boot2Docker does not recognize "sudo", "tce-load"

I am running Boot2Docker on Windows 7 (64 bit). Boot2Docker should be based on Tiny Core. I tried installing docker-compose (a separate issue I'm still working on) and several help topics (for example, 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 poked into the / bin folder and, of course, did not have a file. Other commands that I can use correctly, for example, regular ls , cd , rm , etc., exist in the / bin folder. Even if Boot2Docker for some reason pulled tce-load from Tiny Core (although most help messages show that it works), sudo should still exist in a unix environment, no?

Is there anything I need to download / install before these commands are available normally or is something happening with Boot2Docker? I am new to using virtual machines, so this might be something simple. I tried reinstalling and did nothing. I searched a lot of help topics related to docker, docker-compose, boot2docker, tiny kernel, and I did not find anything.

+5
source share
1 answer

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

+3
source

All Articles