The Hypernode Docker Image can be used to set up a local test environment for Magento as well as Shopware. To set such an environment for Shopware is basically the same process as for Magento. This article explains how you can install Shopware 6 on your Docker environment.

Step One – Start a Docker container

Before you can start a Docker container make sure that Docker is running. Next you need to run the following commands in order to start a new Docker container:

This will expose port 222 on the container and port 8080 on the localhost. In this example you should use the following command to connect to the container:

The password is insecure_docker_ssh_password.

Step Two – Install MySQL 5.7

Because the Docker environment has at this point MySQL 5.6 as default you need to install MySQL 5.7 manually. In the future we will build new Dockers with MySQL 5.7. So for now we’ll need to install MySQL 5.7 with the following steps:

Step Three – Update the PHP-version

In docker, changing the PHP-version is a bit different then on a real Hypernode. You can change the PHP-version by following the steps below.

Next: exit as root user and login as app user.

The password is insecure_docker_ssh_password.

Step Four – Install Node.js v10.16

Step Five – Download and install the latest version of Shopware 6

Download the latest Shopware 6 version from the Shopware website by right clicking on “Download for free” and click on “Copy Link Address”. Now paste the link after the wget command below.

Install Shopware 6
Now open your browser and browse to At this point you can follow the install-guide through your browser. Make sure to fill in the right details at Configure database:

Database server: localhost
Database user: app
Database password: run cat ~/.my.cnf in your Docker and use the password you’ll find there.
Select New database, give it a name of your choice and start the installation

  • Fill in the Basic shop set-up how you see fit.

Done! You’ve now successfully installed Shopware 6.

Demo data
If you’d like you could install demo data as well. To do this you’ll need to login the backend: with the credentials you entered during the step: Basic shop set-up at the installation. At your first login you’ll see the “First Run Wizard”, make sure to install the Demo data at the “Demo data” menu.