## Add a local docker unit file Create a file called `/media/state/units/docker-local.service` that has the following contents: ``` [Unit] Description=docker local [Service] PermissionsStartOnly=true ExecStartPre=/usr/bin/systemctl kill docker.service ExecStart=/usr/bin/docker -d -H unix:// -H tcp:// [Install] WantedBy=local.target ``` ## Enable the local docker ``` sudo systemctl restart local-enable.service ``` ## Set `DOCKER_HOST` On yor local machine: ``` export DOCKER_HOST=tcp://VAGRANT_IP:4243 ``` Have fun!