![]() For example, you cannot access docker in host terminal if it’s in the virtual machine. Whenever you start to work in command lines, be sure you are in the right terminal. In Docker Terminal, execute ‘docker exec -it sh’ Spotlight Search->Docker QuickStart Terminal There are three types of terminal if docker is hosted on virtual machine. In this case, you can only use Docker QuickStart Terminal to access docker. There is one more VirtualBox VM between host machine and docker machine. If you install docker through Docker Toolbox, like what we did in this posting, the structure is different. The host terminal can access both docker and host system. If you install docker manually, like what I did for Ubuntu mentioned in the posting Installing and Using Docker on Ubuntu, the docker is hosted directly by host machine. It’s necessary to understand the structure of docker and what terminal can access it.
0 Comments
Leave a Reply. |