This Dockerfile installs and configure the Chef Supermarket.
docker pull parchment/chef-supermarket
Run :
docker run -d --privileged \
--name chef-supermarket \
-p 443:443 \
parchment/chef-supermarket
Please check the log when you run/start/restart the chef-supermarket. It takes a while until fully startup.
docker logs -f chef-supermarket
The Dockerfile defines mount points i order to support storing config, data ,and data backup in your storage.
/etc/supermarket
: Chef Supermarket home/var/opt/supermarket
: Data directory for all components
docker run -d --privileged \
--name chef-supermarket \
-v <your-chef-supermarket-home-directory>:/etc/supermarket:rw \
-v <your-data-directory>:/var/opt/supermarket:rw \
-h <your-hostname> \
-p 443:443 \
parchment/chef-supermarket:3.1.70
You can access and login to the chef supermarket through web browser.
https://<your-host>
Build latest version : current latest is 3.1.70
docker build -t chef-supermarket:latest -t chef-supermarket:3.1.70 .
To build the chef-supermarket
image with specific version such as 3.1.70
, you need to pass CHEF_SUPERMERKET_VERSION
and CHEF_SUPERMARKET_DOWNLOAD_SHA256
build-arg.
Please find the VERSION
and SHA256
for Ubuntu Linux 18.04 x86_64
from https://downloads.chef.io/chef-supermarket
docker build \
--build-arg CHEF_SUPERMERKET_VERSION=3.1.70 \
--build-arg CHEF_SUPERMARKET_DOWNLOAD_SHA256=2d44adb9b52eed57dceccb852a228af35004ca63752a9ff3a961cb3282949153 \
-t chef-supermarket:3.1.70 \
.
For my workflow :
docker build \
--build-arg CHEF_SUPERMERKET_VERSION=3.1.70 \
--build-arg CHEF_SUPERMARKET_DOWNLOAD_SHA256=2d44adb9b52eed57dceccb852a228af35004ca63752a9ff3a961cb3282949153 \
-t parchment/chef-supermarket:3.1.70 \
.