Sign inSign up

imdocked/spotweb

By imdocked

•Updated about 9 years ago

Windows ServerCore Container image with Spotweb

Image
0

1.1K

imdocked/spotweb repository overview

  • This is a Windows ServerCore Image with the Spotweb software installed.
  • This image is created with a dockerfile which is added to this description below

⁠Quickstart

  1. docker pull imdocked/spotweb
  2. mkdir c:\Docker\Spotweb\data
  3. docker run -d --hostname spotweb -v c:\Docker\Spotweb\data:c:\xampp\mysql\data\spotweb imdocked/spotweb
  4. ping spotweb
  5. Start browser and navigate to http://spotweb/spotweb⁠

⁠Building the Image

  • I have the dockerfile placed in the following directory c:\docker\spotweb\dockerfile
  • I have my router on 192.168.11.1
  • I create a transparent network for the image
docker network create -d transparent --gateway=192.168.11.1 --subnet=192.168.11.0/24 \
-o com.docker.network.windowsshim.dnssuffix=docker.local \
-o com.docker.network.windowsshim.dnsservers=192.168.11.1 MyNet

docker build --network=MyNet -t imdocked/spotweb "c:\docker\spotweb"

# docker push imdocked/spotweb

⁠How to run

  • I have given the image a static hostname "spotweb", a static ip# "192.168.11.7" and a static mac-address "12:34:56:78:89:01".
  • I've created a static lease in my router for this hostname, mac-address and ip#.
  • I have the Spotweb database files in "c:\docker\spotweb\data" which i map as volume onto the folder with the MySql database folder.
mkdir c:\Docker\spotweb\data
docker run -d -v c:\Docker\spotweb\data:c:\xampp\mysql\data\spotweb --network=MyNet --hostname spotweb --mac-address 12:34:56:78:89:01 --ip 192.168.11.7   -p 80:80 imdocked/spotweb

⁠Dockerfile contents

test

Tag summary

Content type

Image

Digest

Size

5.1 GB

Last updated

about 9 years ago

docker pull imdocked/spotweb