diff --git a/_config.yml b/_config.yml index d83ad42277..c98454c44b 100644 --- a/_config.yml +++ b/_config.yml @@ -18,10 +18,6 @@ gems: - jekyll-seo-tag - jekyll-relative-links -webrick: - headers: - Cache-Control: 600 - defaults: - scope: diff --git a/_data/advisories.yaml b/_data/advisories.yaml index 50af4ac8bd..66a1e0a50a 100644 --- a/_data/advisories.yaml +++ b/_data/advisories.yaml @@ -15,7 +15,7 @@ texts: toolbox: "**Legacy desktop solution.** Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of [Docker for Mac](/docker-for-mac/) and [Docker for Windows](/docker-for-windows/). We recommend updating to the newer applications, if possible." kitematic: "**Legacy desktop solution.** Kitematic is a legacy solution, bundled with [Docker Toolbox](/toolbox/overview/). We recommend updating to [Docker for Mac](/docker-for-mac/) or [Docker for Windows](/docker-for-windows/) if your system meets the requirements for one of those applications." swarm: "See [Swarm mode overview](/engine/swarm/) for the orchestration features introduced in Docker Engine 1.12. Only refer to the Docker Swarm documents below for information on the standalone Swarm product." - swarm-standalone: "**You are viewing docs for legacy standalone Swarm.** These topics describe standalone Docker Swarm. In Docker 1.12 and higher, [Swarm mode](/engine/swarm/) is integrated with Docker Engine. Most users should use integrated Swarm mode — a good place to start is [Getting started with swarm mode](/engine/swarm/swarm-tutorial/), [Swarm mode CLI commands](/engine/swarm/index.md#swarm-mode-cli-commands), and the advanced [Learn Docker sample app](/engine/getstarted-voting-app/). Standalone Docker Swarm is not integrated into the Docker Engine API and CLI commands." + swarm-standalone: "**You are viewing docs for legacy standalone Swarm.** These topics describe standalone Docker Swarm. In Docker 1.12 and higher, [Swarm mode](/engine/swarm/) is integrated with Docker Engine. Most users should use integrated Swarm mode — a good place to start is [Getting started with swarm mode](/engine/swarm/swarm-tutorial/), [Swarm mode CLI commands](/engine/swarm/index.md#swarm-mode-cli-commands), and the [Get started with Docker walkthrough](/get-started/)). Standalone Docker Swarm is not integrated into the Docker Engine API and CLI commands." engine: "This site contains documentation for the v1.12 release candidate version of Docker Engine. For the Docker Engine v1.11 docs, see [https://docs.docker.com/v1.11/](https://docs.docker.com/v1.11/). Docker for Mac and Docker for Windows are currently in Beta." cloud-swarm: "**Beta Feature.** Swarm Mode for Docker Cloud is currently a public Beta." diff --git a/_data/redirects.csv b/_data/redirects.csv index 3894ab2f38..803f91e8c5 100644 --- a/_data/redirects.csv +++ b/_data/redirects.csv @@ -1,5 +1,5 @@ /source,destination -/engine/quickstart/,/engine/getstarted/ +/engine/quickstart/,/get-started/ /engine/containers/,/engine/tutorials/ /win/,/docker-for-windows/ /mac/,/docker-for-mac/ diff --git a/_data/toc.yaml b/_data/toc.yaml index 7e204262b7..5cbf113836 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -129,42 +129,20 @@ guides: title: Docker release notes - sectiontitle: Get Started section: - - path: /learn/ - title: Learn Docker - - sectiontitle: Docker basics + - sectiontitle: "Get started with Docker" section: - - path: /engine/getstarted/ - title: Get started with Docker - - path: /engine/getstarted/step_one/ - title: Install Docker and run hello-world - - path: /engine/getstarted/step_two/ - title: Understand images & containers - - path: /engine/getstarted/step_three/ - title: Find & run the whalesay image - - path: /engine/getstarted/step_four/ - title: Build your own image - - path: /engine/getstarted/step_five/ - title: Create a Docker Hub account & repository - - path: /engine/getstarted/step_six/ - title: Tag, push, & pull your image - - path: /engine/getstarted/last_page/ - title: Learning more - - sectiontitle: Define and deploy your app - section: - - path: /engine/getstarted-voting-app/ - title: Sample app overview - - path: /engine/getstarted-voting-app/node-setup/ - title: Set up Dockerized machines - - path: /engine/getstarted-voting-app/create-swarm/ - title: Create a swarm - - path: /engine/getstarted-voting-app/deploy-app/ - title: Deploy the app - - path: /engine/getstarted-voting-app/test-drive/ - title: Try out the voting app - - path: /engine/getstarted-voting-app/customize-app/ - title: Customize the app and redeploy - - path: /engine/getstarted-voting-app/cleanup/ - title: Graceful shutdown, reboot, and clean-up + - title: "Part 1: Orientation" + path: /get-started/ + - title: "Part 2: Containers" + path: /get-started/part2/ + - title: "Part 3: Services" + path: /get-started/part3/ + - title: "Part 4: Swarms" + path: /get-started/part4/ + - title: "Part 5: Stacks" + path: /get-started/part5/ + - title: "Part 6: Deploy your app" + path: /get-started/part6/ - sectiontitle: Learn by example section: - path: /engine/tutorials/networkingcontainers/ @@ -175,8 +153,8 @@ guides: title: Docker overview - sectiontitle: User Guide section: - - path: /engine/userguide/intro/ - title: Introduction + - path: /engine/userguide/ + title: Overview - sectiontitle: Work with images section: - path: /engine/userguide/eng-image/dockerfile_best-practices/ diff --git a/_includes/content/docker_elevator_pitch.md b/_includes/content/docker_elevator_pitch.md deleted file mode 100644 index dbcf9a01e3..0000000000 --- a/_includes/content/docker_elevator_pitch.md +++ /dev/null @@ -1,10 +0,0 @@ -Docker provides a way to run applications securely isolated in a container, packaged -with all its dependencies and libraries. Because your application can always be -run with the environment it expects right in the build image, testing -and deployment is simpler than ever, as your build will be fully portable and ready -to run as designed in any environment. And because containers are lightweight and run -without the extra load of a hypervisor, you can run many applications that all rely -on different libraries and environments on a single kernel, each one never interfering -with the other. This allows you to get more out of your hardware by shifting the "unit -of scale" for your application from a virtual or physical machine, to a container -instance. diff --git a/_includes/content/typical_docker_workflow.md b/_includes/content/typical_docker_workflow.md deleted file mode 100644 index d97012fd6d..0000000000 --- a/_includes/content/typical_docker_workflow.md +++ /dev/null @@ -1,23 +0,0 @@ -### Typical Docker workflow - -① Get your code and its dependencies into Docker [containers](engine/getstarted/step_two.md). - -- [Write a Dockerfile](engine/getstarted/step_four.md) that -defines the execution environment and pulls in your code. - -- If your app depends on external services (such as Redis or MySQL), [find them on a registry like Docker Hub](docker-hub/repos.md), and refer to them in [a Docker Compose file](compose/overview.md), along with a call to your app, so they'll run simultaneously. - -- Software providers also distribute paid software on the [Docker Store](https://store.docker.com). - -- Build, then run your containers on a virtual host with [Docker Machine](machine/overview.md) as you develop. -
-② Configure [networking](engine/tutorials/networkingcontainers.md) and [storage](engine/tutorials/dockervolumes.md) for your solution, if needed. - -③ Upload builds to a registry ([ours](/engine/getstarted/step_six.md) or [yours](/datacenter/dtr/2.0/index.md)) or your cloud providers to collaborate with your team. - -④ -To run your app as a set of services across multiple hosts, [set up a Swarm cluster](/engine/swarm/index.md) and -[scale it to meet demand](/engine/swarm/swarm-tutorial/scale-service.md). Use [Universal Control Plane](/datacenter/ucp/1.1/overview.md) to manage your swarm in a friendly UI! - -⑤ -Deploy to your preferred cloud providers with [Docker Cloud](/docker-cloud/index.md), or use [Docker Datacenter](https://www.docker.com/products/docker-datacenter) to deploy to your own on-premise hardware. diff --git a/_includes/global-header.html b/_includes/global-header.html index ae0aebe05e..147b2d272e 100644 --- a/_includes/global-header.html +++ b/_includes/global-header.html @@ -57,7 +57,7 @@Docker provides a way to run applications securely isolated in a container, packaged with all its dependencies and libraries.
diff --git a/compose/bundles.md b/compose/bundles.md index 47f617e184..d60f8289d4 100644 --- a/compose/bundles.md +++ b/compose/bundles.md @@ -27,12 +27,11 @@ stack files now are fully supported. A stack file is a particular type of [version 3 Compose file](/compose/compose-file/index.md). If you are just getting started with Docker and want to learn the best way to -deploy multi-service applications, a good place to start is the [Sample app -tutorial](/engine/getstarted-voting-app/index.md). This shows you how to define -a service configuration in a `docker-stack.yml` file, deploy the app, and use +deploy multi-service applications, a good place to start is the [Get Started +walkthrough](/get-started/). This shows you how to define +a service configuration in a Compose file, deploy the app, and use the relevant tools and commands. - ## Producing a bundle The easiest way to produce a bundle is to generate it using `docker-compose` @@ -213,7 +212,7 @@ A service has the following fields: ## Related topics -* [Sample app tutorial](/engine/getstarted-voting-app/index.md) +* [Get started walkthrough](/get-started/) * [docker stack deploy](/engine/reference/commandline/stack_deploy/) command diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index ccecaeb9c0..1734d79375 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1532,8 +1532,6 @@ stack. - [User guide](/compose/index.md) - [Installing Compose](/compose/install/) - [Compose file versions and upgrading](compose-versioning.md) -- [Sample app with swarm mode](/engine/getstarted-voting-app/) -- [Get started with Django](/compose/django/) -- [Get started with Rails](/compose/rails/) -- [Get started with WordPress](/compose/wordpress/) +- [Get started with Docker](/get-started/) +- [Samples](/samples/) - [Command line reference](/compose/reference/) diff --git a/docker-for-mac/index.md b/docker-for-mac/index.md index 5ed31ecf1c..b9b376c337 100644 --- a/docker-for-mac/index.md +++ b/docker-for-mac/index.md @@ -93,7 +93,7 @@ docker-machine version 0.10.0, build 76ed2a6 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?** [Learn Docker](/learn.md) is a great place to start. +**Want more example applications?** [Get Started](/get-started/) and [Samples](/samples/) are great places to start. ## Preferences @@ -382,13 +382,7 @@ Check out these [Docker Cloud topics](/docker-cloud/index.md) to learn more: ## Where to go next -* Try out the tutorials and sample app walkthroughs at [Learn Docker](/learn.md), including: - - * Learn Docker basics in [Getting Started with Docker](/engine/getstarted/index.md) - - * Learn how to [define and deploy a Docker stack to a swarm](/engine/getstarted-voting-app/index.md) - (deploy multiple containers as services and use new - Compose Version 3 features) +* Try out the walkthrough at [Get Started](/get-started/). * Dig in deeper with [Docker Labs](https://github.com/docker/labs/) example walkthroughs and source code. diff --git a/docker-for-mac/install.md b/docker-for-mac/install.md index 4e43e51757..893e35b90b 100644 --- a/docker-for-mac/install.md +++ b/docker-for-mac/install.md @@ -124,7 +124,7 @@ explanation and list of prerequisites. > instead of HyperKit. * **What the install includes**: The installation provides - [Docker Engine](/engine/userguide/intro/), Docker CLI client, + [Docker Engine](/engine/userguide/), Docker CLI client, [Docker Compose](/compose/overview/), and [Docker Machine](/machine/overview/). ## Install and Run Docker for Mac @@ -173,4 +173,4 @@ workarounds, how to run and submit diagnostics, and submit issues. * [Release Notes](release-notes.md) lists component updates, new features, and improvements associated with Stable and Edge releases. -* [Learn Docker](/learn.md) provides general Docker tutorials. +* [Get Started with Docker](/get-started/) provides a general Docker tutorial. diff --git a/docker-for-windows/index.md b/docker-for-windows/index.md index 9e06e9ea11..0dcc8903fe 100644 --- a/docker-for-windows/index.md +++ b/docker-for-windows/index.md @@ -227,7 +227,7 @@ The next few steps take you through some examples. These are just suggestions fo 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?** [Learn Docker](/learn.md) is a great place to start. +**Want more example applications?** [Get Started](/get-started/) and [Samples](/samples) are great places to start. ## Set up tab completion in PowerShell @@ -700,13 +700,7 @@ If you want to go back to using Docker Toolbox, you have to disable the Hyper-V ## Where to go next -* Try out the tutorials and sample app walkthroughs at [Learn Docker](/learn.md), including: - - * Learn Docker basics in [Getting Started with Docker](/engine/getstarted/index.md) - - * Learn how to [define and deploy a Docker stack to a swarm](/engine/getstarted-voting-app/index.md) - (deploy multiple containers as services and use new - Compose Version 3 features) +* Try out the walkthrough at [Get Started](/get-started/). * Dig in deeper with [Docker Labs](https://github.com/docker/labs/) example walkthroughs and source code. diff --git a/docker-for-windows/install.md b/docker-for-windows/install.md index 1947220406..191291eacb 100644 --- a/docker-for-windows/install.md +++ b/docker-for-windows/install.md @@ -114,7 +114,7 @@ on a VMWare or Parallels instance, might work, but come with no guarantees (i.e., not officially supported). For more information, see [Running Docker for Windows in nested virtualization scenarios](troubleshoot.md#running-docker-for-windows-in-nested-virtualization-scenarios) -* **What the Docker for Windows install includes**: The installation provides [Docker Engine](/engine/userguide/intro.md), Docker CLI client, [Docker Compose](/compose/overview.md), and [Docker Machine](/machine/overview.md). +* **What the Docker for Windows install includes**: The installation provides [Docker Engine](/engine/userguide/), Docker CLI client, [Docker Compose](/compose/overview.md), and [Docker Machine](/machine/overview.md). ### About Windows containers and Windows Server 2016 @@ -165,11 +165,12 @@ Congratulations! You are up and running with Docker for Windows. basic Docker command examples, how to get help or give feedback, and links to all topics in the Docker for Windows guide. +* [Get started with Docker](/get-started/) teaches you how to define and deploy +applications with Docker. + * [Troubleshooting](troubleshoot.md) describes common problems, workarounds, how to run and submit diagnostics, and submit issues. * [FAQs](faqs.md) provides answers to frequently asked questions. * [Release Notes](release-notes.md) lists component updates, new features, and improvements associated with Stable and Edge releases. - -* [Learn Docker](/learn.md) provides general Docker tutorials. diff --git a/docker-hub/index.md b/docker-hub/index.md index 545d5f4091..d8f56615d6 100644 --- a/docker-hub/index.md +++ b/docker-hub/index.md @@ -65,9 +65,6 @@ Private repositories do not appear in the repository search results. To see all the repositories you can access and their status, view your "Dashboard" page on [Docker Hub](https://hub.docker.com). -You can find more information on working with Docker images in the -[Docker userguide](/engine/getstarted/step_four.md). - ### Use Official Repositories Docker Hub contains a number of [Official diff --git a/docker-hub/repos.md b/docker-hub/repos.md index 02dbb045ab..4e806e0b16 100644 --- a/docker-hub/repos.md +++ b/docker-hub/repos.md @@ -95,7 +95,6 @@ You can name your local images either when you build it, using by re-tagging an existing local image `docker tag-## Learn the basics of Docker - -The basic tutorial introduces Docker concepts, tools, and commands. The examples show you how to build, push, -and pull Docker images, and run them as containers. This -tutorial stops short of teaching you how to deploy applications. - | --## Define and deploy applications - -The define-and-deploy tutorial shows how to relate -containers to each other and define them as services in an application that is ready to deploy at scale in a -production environment. Highlights Compose Version 3 new features and swarm mode. - |
-[Start the basic tutorial](/engine/getstarted/){: class="button primary-btn"} - | --[Start the application tutorial](/engine/getstarted-voting-app/){: class="button primary-btn"} - | -