I think sudo will require when port is below 1000 but my port is 8000 so I don't think I need sudo here. I also read somewhere that I should use sudo than it should work, but I tried and get following error docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. I am not using mac docker app due to system resources limit. I have read many article and noticed there is issues in docker and mac related, but not sure how can I solve it. I use following command to run docker docker run -i -t -p 8000:8000 -name example1 todoapp Now, next time you will use docker-machine create command you will be able to successfully create a. In case you don’t know a valid DNS server then you can use Google s 8.8.8.8 server. Make sure you are using a valid DNS server name. My software versions are Docker version 18.09.5, build e8ff056ĭocker-machine version 0.16.1, build cce350d You can view your DNS server by going to System Preference > Network > Your internet connection > DNS. ![]() ![]() When I ssh in docker machine service is running perfectly inside docker machine, but outside nothing coming up. Everything is working, but when I use expose to map port on my host machine, it is not working. ![]() I used brew to install docker, docker-machine and docker-compose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |