Includes:
user)While the Magento installation files are stored within the container image, the actual installation of magento happens on the first boot. Because of this, the intial start may take longer than normal.
docker build -t cmtpstks/magento:2-litespeed \
--build-arg M_PUB_KEY=${MAGENTO_PUBLIC_KEY} \
--build-arg M_PRIV_KEY=${MAGENTO_PRIVATE_KEY} \
.
docker run --rm -d --name mysql -e MYSQL_ROOT_PASSWORD=changeme! mariadb:10.3; \
docker run --rm -d -p 2222:22 -p 8000:80 -p 7080:7080 --name magento \
-e SSH_PASS=changeme \
-e MYSQL_HOST=$(docker inspect mysql --format {{.NetworkSettings.IPAddress}}) \
-e MYSQL_USER=root \
-e MYSQL_PW=changeme! \
-e MYSQL_DB_NAME=mage \
-e DEFAULT_DOMAIN="my.magento-url.com" \
-e PROTO="http" \
-e MAGE_USERNAME=admin \
-e MAGE_PW="CHANGEME" \
-e LS_ADMIN_PW=changeme \
-e TIMEZONE="America/Los_Angeles" \
-e [email protected] \
-e CURRENCY=USD \
-e SMTP_SERVER=my.smtpserver.net \
-e SMTP_USERNAME=changeme \
-e SMTP_PASSWORD=changeme \
-e SMTP_PORT=2525 \
cmptstks/magento:2-litespeed
Content type
Image
Digest
Size
646 MB
Last updated
over 5 years ago
docker pull cmptstks/magento-ce