osx - How to I make docker start as a service on OS X? -


i installed dockertoolbox 1.11.1 on mac os 10.11 , start docker via kinematic , if click docker cli wills start terminal docker running (docker version returns info , success).

still, if try same normal console fail detect docker , want have docker available in console window, starting @ login time, automatically or on demand. still, once started expect able use console.

i guess part missing tutorials , find solution it. how can this?

this docker machine for. docker instance running in virtual machine, , have set few environment variables connect it(docker_host, docker_tls_verify, docker_cert_path , docker_machine_name) . if run eval $(docker-machine env [machine name]) set variables automatically assuming vm up. put line bash profile automatic setup.

check out docs here https://docs.docker.com/machine/overview/

also, there native version of docker osx (currently in limited beta) removes need docker machine, in near future none of necessary.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -