Skip to content

expose a tcp socket for accessing docker API on macOS

License

Notifications You must be signed in to change notification settings

cloudyparts/macos-socat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expose a tcp socket for accessing docker API on macOS

macos-socat

Why?

The Docker for Mac native macOS application provides use of docker engine without the need for vagrant or other virtualized linux operating system. Docker for Mac does not provide the same docker daemon configuration options as other versions of docker-engine. macOS-socat uses socat to establish a tcp socket bound to localhost which makes available the Docker for Mac API.

Getting Started

Install

$ docker pull cloudyparts/macos-socat

Usage

$ docker run --detach \
	--publish 127.0.0.1:2375:2375 \
	--volume=/var/run/docker.sock:/var/run/docker.sock \
	cloudyparts/macos-socat

WARNING: The Docker API is unsecure by default. Please remember to bind the TCP socket to the localhost interface otherwise the Docker API will be bound to all interfaces..

About

expose a tcp socket for accessing docker API on macOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published