Docker SDK
Description
Spryker Docker SDK helps to set up docker environment for your Spryker project.
Spryker Docker SDK requires the Deploy file. The tool reads the specified Deploy file and builds a production-like Docker infrastructure for Spryker accordingly.
The purposes of the tool:
- Building production-like Docker images.
- Serving as a part of development environment based on Docker.
- Simplifying the process of setting up a local demo of Spryker project.
All the commands below should be run from the root directory of Spryker project.
Installation
- Fetch Docker SDK tools:
-
Initialize docker setup:
docker/sdk bootstrap
-
Build and run Spryker applications:
docker/sdk up
Make sure all the domains from deploy.yml are defined as 127.0.0.1 in the hosts file in the local environment.
git clone https://github.com/spryker/docker-sdk.git ./docker
Make sure docker 18.09.1+ and docker-compose 1.23+ are installed in the local environment.
Getting Started
There are two ways to start working with Spryker in Docker:
- If you want to set up a new Spryker project in Docker, start here.
- If you already have a DevVM based project, proceed here to convert your project into a Docker based one.
See also:
- Deploy File Reference
- Getting Started with Docker
- Integrating Docker into an Existing Project
- HowTo - Install Self-Signed SSL Certificates
Last review date: Aug 06, 2019