
docker:ai:d1b85
How to run shopware via docker?
$ docker run -p 80:80 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -e SHOPWARE_ES_HOSTS=elasticsearch -ti shopware/6-dev
try on your machine
This command runs Shopware via Docker and maps ports 80 and 3306 to the host system. It sets the MySQL root password to 'secret' and configures the Elasticsearch host as 'elasticsearch'. The container is executed interactively in the terminal.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- How to run Shopware via docker?