Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Running Boost ITs using Docker

Scott Kurz edited this page Feb 21, 2020 · 2 revisions

Tips on running ITs using Docker

Docker Build Tests

  1. If you're not setting up SSL, you might need to set: "Expose daemon on tcp://localhost:2375 without TLS” (on Windows right-click icon then Settings->General). Note this can be considered a security exposure.

Docker Registry Tests (Push/Pull)

WARNING: This is another level of security exposure (see here).

  1. To do the push, you may need to add to your Insecure Registries localhost:5000 (and I just added 127.0.0.1:5000 too). On Windows right-click icon then Settings->Daemon.

  2. Be sure to start a registry container (see here), eg. docker run -d -p 5000:5000 --restart=always --name registry registry:2.

  3. On Windows, set DOCKER_HOST : export DOCKER_HOST=tcp://localhost:2375