diff --git a/site/layouts/index.html b/site/layouts/index.html index c7ffebea8f..bdc12c54fa 100755 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -51,13 +51,6 @@

Define multi-container applications. (OS X only)

-
-
- -

Docker Swarm

-

Host clustering and container scheduling.

-
-
@@ -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 74a81ce03b..ee343067ef 100755 --- a/site/static/css/main.css +++ b/site/static/css/main.css @@ -290,13 +290,15 @@ 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 { - text-align: center; - padding-right: 1rem; + padding-right: 1.5rem; } .content .documentation { text-align: center; @@ -349,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 f5eeb7a7a7..f2f061cb1b 100755 --- a/site/static/less/layout.less +++ b/site/static/less/layout.less @@ -142,13 +142,13 @@ .flex-display(); .flex-flow(row wrap); .item { + text-align: center; img { width: 100px; height: auto; } .info { - text-align: center; - padding-right: 1rem; + padding-right: 1.5rem; } } } @@ -213,8 +213,8 @@ @media screen and (min-width: 500px) { .items { .item { - max-width: 20%; - min-width: 140px; + max-width: 25%; + min-width: 160px; } } } diff --git a/windows/start.sh b/windows/start.sh index de40a7d84d..0c93f1ae89 100644 --- a/windows/start.sh +++ b/windows/start.sh @@ -6,6 +6,10 @@ ISO=$HOME/.docker/machine/cache/boot2docker.iso VM=dev DOCKER_MACHINE=./docker-machine.exe +BLUE='\033[1;34m' +GREEN='\033[0;32m' +NC='\033[0m' + mkdir -p ~/.docker/machine/cache if [ ! -f $ISO ]; then mkdir -p "$(dirname "$ISO")" @@ -26,9 +30,7 @@ $DOCKER_MACHINE start dev echo "Setting environment variables for machine $VM..." ./docker-machine.exe env $VM | sed 's,\\,\\\\,g' # eval swallows single backslashes in windows style path -eval "$(./docker-machine.exe env $VM 2>/dev/null | sed 's,\\,\\\\,g')" - -cd +eval "$($DOCKER_MACHINE env $VM 2>/dev/null | sed 's,\\,\\\\,g')" clear cat << EOF @@ -44,7 +46,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 $VM)${NC}" +echo "For help getting started, check out the docs at https://docs.docker.com" echo - -exec "$BASH" --login -i +cd