A toolkit for building secure, portable and lean operating systems for containers
Go to file
David Scott c6757075d0 proxy: don't fail if the Listen in the VM fails with EADDRNOTAVAIL
The purpose of the `slirp-proxy` is to expose ports on the Mac or
Windows host. In d5bd7d690a we added
an additional `Listen` inside the VM for backwards compatibility
with software that expected to be able to listen on `0.0.0.0` in
one container and then access this easily from other containers
using an IP bound to the VM (instead of using a first-class network
to connect the containers or discovering a real IP of the host).

Before this patch we could only expose ports on if the Listen
succeeds on both the host and the VM. In practice this meant that
we could only expose ports on `0.0.0.0` and `127.0.0.1`; attempts
to expose ports on specific interfaces on the host would fail.

This patch treats the EADDRNOTAVAIL error from the Listen inside
the VM as a soft failure, and still attempts to Listen on the host.
If the Listen on the host fails it is still a hard failure.
This allows ports to be exposed on specific IPs used on the host.

Fixes [docker/pinata#5080]

Signed-off-by: David Scott <dave.scott@docker.com>
2016-09-08 13:32:25 +01:00
alpine proxy: don't fail if the Listen in the VM fails with EADDRNOTAVAIL 2016-09-08 13:32:25 +01:00
docs Document that VMWare Fusion is working 2016-07-22 13:54:42 +01:00
licensing Update to Alpine 3.4 2016-06-03 12:45:15 +01:00
scripts Only backup vmlinuz/initrd once with moby script 2016-07-26 17:33:32 +02:00
.dockerignore add more dockerignores 2016-04-13 11:24:31 +01:00
.gitignore Initial test hooks 2016-07-08 15:44:04 +01:00
Dockerfile.qemu Add random device for qemu 2016-08-30 11:35:26 +01:00
Dockerfile.qemu.armhf Move built kernel to arch specific subdir 2016-07-25 17:18:02 +02:00
Dockerfile.qemuiso fix iso build 2016-09-06 00:11:48 +01:00
Dockerfile.test Add random device for qemu 2016-08-30 11:35:26 +01:00
Makefile Merge pull request #468 from justincormack/alpine-iso 2016-09-06 23:57:49 +01:00
README.md Remove xhyve 2016-08-31 14:30:17 +01:00

Base repo for Moby, codename for the Docker Linux distro

Initial requirements are being driven by the very minimal goal of replacing boot2docker for the new Mac app.

However these requirements are fairly small and the scope is intended to be much broader.

Simple build instructions: use make to build. make qemu will boot up in qemu in a container.

You can build for arm, some parts still under development, make clean first, then make qemu-arm will run in qemu.