diff --git a/osx/mpkg/Distribution b/osx/mpkg/Distribution index 670d595dad..b7940b53db 100644 --- a/osx/mpkg/Distribution +++ b/osx/mpkg/Distribution @@ -2,7 +2,7 @@ docker_title - + diff --git a/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/main.scpt b/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/main.scpt index fbc1360de5..42e712fdbb 100644 Binary files a/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/main.scpt and b/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/main.scpt differ diff --git a/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/start.sh b/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/start.sh old mode 100644 new mode 100755 index 4ce49464be..4d2ac3fd68 --- a/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/start.sh +++ b/osx/mpkg/Docker CLI.app/Contents/Resources/Scripts/start.sh @@ -1,16 +1,27 @@ +#!/bin/bash + +set -e + ISO=$HOME/.docker/machine/cache/boot2docker.iso VM=dev DOCKER_MACHINE=/usr/local/bin/docker-machine +BLUE='\033[0;34m' +GREEN='\033[0;32m' +NC='\033[0m' + unset DYLD_LIBRARY_PATH unset LD_LIBRARY_PATH +clear + mkdir -p ~/.docker/machine/cache if [ ! -f $ISO ]; then cp /usr/local/share/boot2docker/boot2docker.iso $ISO fi -machine=$($DOCKER_MACHINE ls -q | grep "^$VM$") + +machine=$($DOCKER_MACHINE ls -q | grep "^$VM$") || : if [ -z $machine ]; then echo "Creating Machine $VM..." $DOCKER_MACHINE create -d virtualbox --virtualbox-memory 2048 $VM @@ -19,10 +30,9 @@ else fi echo "Starting machine $VM..." -$DOCKER_MACHINE start dev +$DOCKER_MACHINE start $VM echo "Setting environment variables for machine $VM..." -eval $($DOCKER_MACHINE env dev --shell=bash) clear cat << EOF @@ -39,7 +49,7 @@ cat << EOF EOF -echo "The Quick Start CLI is configured to use Docker with the $VM VM" +echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}dev${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip dev)${NC}" echo -bash -c "$SHELL" +eval $($DOCKER_MACHINE env $VM --shell=bash) diff --git a/site/layouts/index.html b/site/layouts/index.html index d573b253d3..bdc12c54fa 100755 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -34,28 +34,21 @@

Docker Engine

-

Creates and runs Docker containers.

+

Create and runs Docker containers.

Docker Machine

-

Provisions Docker to local or remote machines.

+

Provision Docker-ready local or remote machines.

Docker Compose

-

Define multi-container applications. (Mac OS X only)

-
-
-
-
- -

Docker Swarm

-

Host clustering and container scheduling.

+

Define multi-container applications. (OS X only)

@@ -92,7 +85,7 @@
  1. Open a terminal or the Docker CLI on your system.
  2. Type the following command.
    -
    docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm
    +
    docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm dev
  3. Use the docker-machine command to interact with the migrated VM.
diff --git a/site/static/css/main.css b/site/static/css/main.css index 7a17ac75f3..ee343067ef 100755 --- a/site/static/css/main.css +++ b/site/static/css/main.css @@ -290,14 +290,18 @@ table { -ms-flex-flow: row wrap; flex-flow: row wrap; } +.content .items .item { + text-align: center; +} .content .items .item img { width: 100px; height: auto; } .content .items .item .info { - padding-right: 1rem; + padding-right: 1.5rem; } .content .documentation { + text-align: center; padding: 2rem 0; } .content .documentation h3 { @@ -309,8 +313,7 @@ table { } .content .documentation .cta .btn { display: inline-block; - margin-right: 1rem; - margin-bottom: 1rem; + margin: 0.5rem; transition: all 100ms; background-color: #ff992e; box-shadow: 0.4rem 0.4rem 0 rgba(0, 0, 0, 0.05); @@ -348,8 +351,8 @@ table { } @media screen and (min-width: 500px) { .items .item { - max-width: 20%; - min-width: 140px; + max-width: 25%; + min-width: 160px; } } .footer { diff --git a/site/static/less/layout.less b/site/static/less/layout.less index 5cdbdf7495..f2f061cb1b 100755 --- a/site/static/less/layout.less +++ b/site/static/less/layout.less @@ -142,16 +142,18 @@ .flex-display(); .flex-flow(row wrap); .item { + text-align: center; img { width: 100px; height: auto; } .info { - padding-right: 1rem; + padding-right: 1.5rem; } } } .documentation { + text-align: center; padding: 2rem 0; h3 { color: fade(white, 70%); @@ -161,8 +163,7 @@ padding: 1rem 0 0 0; .btn { display: inline-block; - margin-right: 1rem; - margin-bottom: 1rem; + margin: 0.5rem; transition: all 100ms; background-color: @brand-orange; box-shadow: 0.4rem 0.4rem 0 fade(black, 5%); @@ -212,8 +213,8 @@ @media screen and (min-width: 500px) { .items { .item { - max-width: 20%; - min-width: 140px; + max-width: 25%; + min-width: 160px; } } }