Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boot2Docker doesn't recognize "sudo", "tce-load"

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?

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.

like image 835
Will Molter Avatar asked Nov 09 '22 10:11

Will Molter


1 Answers

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.

like image 100
Will Molter Avatar answered Nov 15 '22 05:11

Will Molter