diff --git a/docker-for-mac/faqs.md b/docker-for-mac/faqs.md index ef9fbc0a1f..e850c1ea11 100644 --- a/docker-for-mac/faqs.md +++ b/docker-for-mac/faqs.md @@ -119,7 +119,22 @@ Networking topic. Starting with Docker for Mac Beta 27 and Stable 1.12.3, all trusted certificate authorities (CAs) (root or intermediate) are supported. -Docker for Mac creates a certificate bundle of all user-trusted CAs based on the Mac Keychain, and appends it to Moby trusted certificates. So if an enterprise SSL certificate is trusted by the user on the host, it will be trusted by Docker for Mac. +Docker for Mac creates a certificate bundle of all user-trusted CAs based on the +Mac Keychain, and appends it to Moby trusted certificates. So if an enterprise +SSL certificate is trusted by the user on the host, it will be trusted by Docker +for Mac. + +To manually add a custom, self-signed certificate, start by adding +the certificate to the Mac’s keychain, which will be picked up by Docker for +Mac. Here is an example. + +``` +sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca.crt +``` + +For a complete explanation of how to do this, see the blog post [Adding Self-signed Registry Certs +to Docker & Docker for +Mac](http://container-solutions.com/adding-self-signed-registry-certs-docker-mac/). ### What are system requirements for Docker for Mac? diff --git a/docker-for-mac/images/settings-advanced-beta.png b/docker-for-mac/images/settings-advanced-beta.png new file mode 100644 index 0000000000..04745581bd Binary files /dev/null and b/docker-for-mac/images/settings-advanced-beta.png differ diff --git a/docker-for-mac/images/settings-advanced-experimental-beta.png b/docker-for-mac/images/settings-advanced-experimental-beta.png new file mode 100644 index 0000000000..f8e8a81268 Binary files /dev/null and b/docker-for-mac/images/settings-advanced-experimental-beta.png differ diff --git a/docker-for-mac/images/settings-beta.png b/docker-for-mac/images/settings-beta.png new file mode 100644 index 0000000000..87d807a615 Binary files /dev/null and b/docker-for-mac/images/settings-beta.png differ diff --git a/docker-for-mac/images/settings-daemon-beta.png b/docker-for-mac/images/settings-daemon-beta.png new file mode 100644 index 0000000000..01babf9eaa Binary files /dev/null and b/docker-for-mac/images/settings-daemon-beta.png differ diff --git a/docker-for-mac/images/settings-proxies-beta.png b/docker-for-mac/images/settings-proxies-beta.png new file mode 100644 index 0000000000..d14e4eae0a Binary files /dev/null and b/docker-for-mac/images/settings-proxies-beta.png differ diff --git a/docker-for-mac/index.md b/docker-for-mac/index.md index 8290392cb6..1ed6ce98d2 100644 --- a/docker-for-mac/index.md +++ b/docker-for-mac/index.md @@ -159,45 +159,128 @@ Run these commands to test if your versions of `docker`, `docker-compose`, and ` 4. Stop or remove containers and images. - The `nginx` webserver will continue to run in the container on that port until you stop and/or remove the container. If you want to stop the webserver, type: `docker stop webserver` and start it again with `docker start webserver`. A stopped container will not show up with `docker ps`; for that, you need to run `docker ps -a`. + The `nginx` webserver will continue to run in the container on that port + until you stop and/or remove the container. If you want to stop the + webserver, type: `docker stop webserver` and start it again with `docker + start webserver`. A stopped container will not show up with `docker ps`; for + that, you need to run `docker ps -a`. - To stop and remove the running container with a single command, type: `docker rm -f webserver`. This will remove the container, but not the `nginx` image. You can list local images with `docker images`. You might want to keep some images around so that you don't have to pull them again from Docker Hub. To remove an image you no longer need, use `docker rmi |`. For example, `docker rmi nginx`. + To stop and remove the running container with a single command, type: + `docker rm -f webserver`. This will remove the container, but not the + `nginx` image. You can list local images with `docker images`. You might + want to keep some images around so that you don't have to pull them again + from Docker Hub. To remove an image you no longer need, use `docker rmi` followed by an image ID or image name. For example, `docker rmi nginx`. **Want more example applications?** - For more example walkthroughs that include setting up services and databases in Docker Compose, see [Example Applications](examples.md). ## Preferences -Choose --> **Preferences** from the menu bar. You can set the following runtime options. +Choose --> **Preferences** from the menu bar. You +can set the following runtime options. #### General ![Preferences](images/settings.png) -* Docker for Mac is set to **automatically start** when you log in. Uncheck the login autostart option if you don't want Docker to start when you open your session. +##### Auto-start, update, and backups -* Docker for Mac is set to **check for updates** automatically and notify you when an update is available. If an update is found, click **OK** to accept and install it (or cancel to keep the current version). If you disable the check for updates, you can still find out about updates manually by choosing -> **Check for Updates** +* Docker for Mac is set to **automatically start** when you log in. Uncheck the login autostart option if you don't want Docker to start when you open your +session. + +* Docker for Mac is set to **check for updates** automatically and notify you when an update is available. If an update is found, click **OK** to accept and +install it (or cancel to keep the current version). If you disable the check for +updates, you can still find out about updates manually by choosing -> **Check for Updates** * Check **Exclude VM from Time Machine backups** to prevent Time Machine from backing up the Docker for Mac virtual machine. -* **CPUs** - By default, Docker for Mac is set to use 2 processors. You can increase processing power for the app by setting this to a higher number, or lower it to have Docker for Mac use fewer computing resources. + >**Tip: Beta dialogs** — Starting with Beta 31, an option to auto-send + usage data is also on the General dialog. In Stable releases, the option is + still on the Privacy tab. For now, both Stable and Beta users can read more + about usage data settings in the [Privacy](#Privacy) topic. -* **Memory** - By default, Docker for Mac is set to use `2` GB runtime memory, allocated from the total available memory on your Mac. You can increase the RAM on the app to get faster performance by setting this number higher (for example to `3`) or lower (to `1`) if you want Docker for Mac to use less memory. +##### CPUs + +By default, Docker for Mac is set to use 2 processors. You can increase +processing power for the app by setting this to a higher number, or lower it to +have Docker for Mac use fewer computing resources. + +##### Memory + +By default, Docker for Mac is set to use `2` GB runtime memory, allocated from +the total available memory on your Mac. You can increase the RAM on the app to +get faster performance by setting this number higher (for example to `3`) or +lower (to `1`) if you want Docker for Mac to use less memory. + +>**Tip: Beta dialogs** — Starting with Beta 31, CPUs and Memory settings +are on the Advanced dialog, as shown here. +> +>![CPUs and Memory settings UI +starting at Beta 31](images/settings-advanced-beta.png) #### Advanced ![Advanced Preference settings-advanced](images/settings-advanced.png) -* **Adding registries** - As an alternative to using [Docker Hub](https://hub.docker.com/) to store your public or private images or [Docker -Trusted Registry](/docker-trusted-registry/overview/), -you can use Docker to set up your own insecure -[registry](/registry/introduction/). Add URLs for -insecure registries and registry mirrors on which to host your images. (See -also, [How do I add custom CA -certificates?](faqs.md#how-do-i-add-custom-ca-certificates) in the FAQs.) +##### Custom Registries -* **HTTP proxy settings** - Docker for Mac will detect HTTP/HTTPS Proxy Settings and automatically propagate these to Docker and to your containers. -For example, if you set your proxy settings to `http://proxy.example.com`, Docker will use this proxy when pulling containers. +As an alternative to using [Docker Hub](https://hub.docker.com/) to store your +public or private images or [Docker Trusted +Registry](/docker-trusted-registry/overview/), you can use Docker to set up your +own insecure [registry](/registry/introduction/). Add URLs for insecure +registries and registry mirrors on which to host your images. (See also, [How do +I add custom CA certificates?](faqs.md#how-do-i-add-custom-ca-certificates) in +the FAQs.) +>**Tip: Beta dialogs** — Starting with Beta 31, options to set up your +own registries are available as part of a new daemon tab. See [Docker +daemon](#docker-daemon-beta-feature)). + +##### HTTP proxy settings + +Docker for Mac will detect HTTP/HTTPS Proxy Settings and automatically propagate +these to Docker and to your containers. For example, if you set your proxy +settings to `http://proxy.example.com`, Docker will use this proxy when pulling +containers. + +>**Tip: Beta dialogs** — Starting with Beta 31, HTTP proxy settings are provided on a dedicated dialog, as shown below. +> +>![Proxies settings](images/settings-proxies-beta.png) + +#### Docker Daemon (Beta feature) + +Starting with Beta 31, configuration options on the Docker daemon move to their +own **Daemon** tab, including basic and advanced options. + +##### Daemon Basic (experimental mode and registries) + +By default, Docker for Mac Beta releases use the experimental version of Docker +Engine, described in the Docker Experimental Features README on GitHub. Starting with +Beta 31, you can toggle **experimental mode** on and off. If you toggle it off, +Docker for Mac Beta uses the current generally available release of Docker +Engine, the same as Stable Docker for Mac versions uses. + +You can use Docker to set up your own insecure +[registry](/registry/introduction/). For details on this, see [Custom +Registries](#custom-registries). + +![Daemon](images/settings-advanced-experimental-beta.png) + +##### Daemon Advanced (JSON configuration file) + +On the **Daemon -> Advanced dialog**, you can directly configure the daemon from +the JSON file, and determine entirely how your containers will run. For a full +list of options on the Docker daemon, see daemon in the Docker Engine command line reference. + +After editing the daemon configuration , click **Apply & Restart** to save it +and reboot Docker. Or, to cancel changes, click another preference tab, then +choose to discard or not apply changes when asked. + +![Docker Daemon](images/settings-daemon-beta.png) #### File sharing @@ -231,6 +314,8 @@ Uncheck any of the options to opt out and prevent auto-send of data. Docker may ![Privacy](images/privacy.png) +>**Tip: Beta dialogs** — Starting with Beta 31, options to enable or disable auto-send of usage data are on the [General](#general) dialog. + Also, you can enable or disable these auto-reporting settings with one click on the information popup when you first start Docker. ![Startup information](images/mac-install-success-docker-wait.png) diff --git a/docker-for-mac/release-notes.md b/docker-for-mac/release-notes.md index e6032d92b1..0609265b41 100644 --- a/docker-for-mac/release-notes.md +++ b/docker-for-mac/release-notes.md @@ -202,6 +202,33 @@ events or unexpected unmounts. ## Beta Release Notes +### Beta 31 Release Notes (2016-12-01 1.13.0-rc2-beta31) + +**New** + +- Dedicated preference pane for advanced configuration of the docker daemon (edit daemon.json). See [[Daemon Advanced (JSON configuration file)](index.md#daemon-advanced-json-configuration-file). + +- Docker Experimental mode can be toggled. See [Daemon Basic (experimental mode and registries)](index.md#daemon-basic-experimental-mode-and-registries). + +**Upgrades** + +- Docker 1.13.0-rc2 +- Docker Compose 1.9.0 +- Docker Machine 0.9.0-rc1 +- Linux kernel 4.8.10 + +**Bug fixes and minor improvements** + +- Fixed bug where search domain could be read as `DomainName` +- VPNKit: don't permute resource records in responses +- VPNKit: reduced the amount of log spam +- Dedicated preference pane for HTTP proxy settings +- Dedicated preference pane for CPU & Memory computing resources +- Privacy settings moved to the general preference pane +- Fixed an issue where proxy settings were erased if registries or mirrors changed. +- Tab key is now cycling through tabs while setting proxy parameters +- Fixed an issue where the preference pane disappeared when the welcome whale menu was closed + ### Beta 30 Release Notes (2016-11-10 1.12.3-beta30) **New** diff --git a/docker-for-windows/images/docker-daemon.png b/docker-for-windows/images/docker-daemon.png index 2ca6ab3c62..b4ee175f6b 100644 Binary files a/docker-for-windows/images/docker-daemon.png and b/docker-for-windows/images/docker-daemon.png differ diff --git a/docker-for-windows/release-notes.md b/docker-for-windows/release-notes.md index 9b7e0dd4fa..e57b416ef0 100644 --- a/docker-for-windows/release-notes.md +++ b/docker-for-windows/release-notes.md @@ -208,6 +208,35 @@ about both kinds of releases, and download stable and beta product installers at ## Beta Release Notes +### Beta 31 Release Notes (2016-12-01 1.13.0-rc2-beta31) + +**New** + +- HTTP/HTTPS proxy settings are used by the Windows Container daemon to pull images +- TRIM support for disk (shrinks virtual disk) +- VM's time synchronization is forced after the host wakes from sleep mode + +**Upgrades** + +- Docker 1.13.0-rc2 +- Dockerd 1.13.0-rc2 (Windows Containers) +- Docker Compose 1.9.0 +- Docker Machine 0.9.0-rc1 +- Linux kernel 4.8.10 + +**Bug fixes and minor changes** + +- VPNKit: don't permute resource records in responses +- VPNKit: reduced the amount of log spam +- Optimized boot process +- Diagnostics are improved and faster +- Log the error when the GUI fails to initialize +- Trend Micro Office Scan made the API proxy think no drive was shared, fixed +- Show a link to the virtualizaton documentation +- Flush logs to file more often +- Fixed the URL to the SMB/firewall documentation +- Properly remove duplicate firewall rules + ### Beta 30 Release Notes (2016-11-10 1.12.3-beta30) **Upgrades**