3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Expose Docker's TCP ports on systemd-based distributions

Posted at

Originally posted in http://aespinosa.github.io/blog/2014-09-23-expose-docker-tcp.html

Useful when spawning Fedora, Centos 7, ArchLinux or CoreOS-based Docker hosts
for development on a Mac.

[vagrant@docker ~]$ cat /etc/systemd/system/docker.socket.d/10-tcp.conf 
[Socket]
ListenStream=5555
[vagrant@docker ~]$ 

Now on your OSX machine, you can use docker via "docker -H ip-of-vm:5555".

References

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?