Skip to content

docker files that creates a Sitecore JSS instance

Notifications You must be signed in to change notification settings

nangchan/docker-jss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-jss

Dockerfile that stands up a Sitecore JSS 11 website on CentOS7

Has the following services enabled:

  1. SystemD
  2. SSHD

Has the following packages installed:

  1. SSH 7
  2. Vim 7.4
  3. Tmux 1.8
  4. Node.js 11
  5. NPM 6.5
  6. Git 1.8
  7. Python 2.7
  8. Man
  9. HTop

To Build:

Build docker image with target name noreplyback/jss

docker build --rm --no-cache -t noreplyback/jss .

To Run:

Run docker image noreplyback/jss:

  • with short name jss
  • with extended privilege and hostname jss
  • map /mnt/home to home directory of host
  • map cgroup to enable systemd to run properly
  • open ssh port 2200
  • open http port 3000
  • run as daemon
docker run --privileged --hostname jss --name jss -v ~/:/mnt/home -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 2200:22 -p 3000:3000 -d noreplyback/jss

Run command with line-wrapping
docker run --privileged --hostname jss --name jss -v ~/:/mnt/home -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 2200:22 -p 3000:3000 -d noreplyback/jss

About

docker files that creates a Sitecore JSS instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 94.6%
  • Shell 5.4%