Sign inSign up

cajanzen/webdev-toolkit

By cajanzen

•Updated almost 9 years ago

webdev toolkit

Image
0

471

cajanzen/webdev-toolkit repository overview

= Webdev toolkit container

== Description

This notebook is based on continuumio/miniconda, with the following modifications:

  • You are expected to mount a volume with project source code at /tmp
  • entrypoint.sh creates someuser and gives it the uid of the /tmp directory unless it is owned by root.

== Example for standard use:

Standard use involves starting an ephemeral container that will delete itself after it finishes running.

docker run --rm -v $(pwd):/tmp cajanzen/webdev-toolkit

== Example usage for leaving the container running

An alternative use is to start the container but detach from it, leaving it running in the background doing nothing (sleep infinity).

docker run --name toolkit -v $(pwd):/tmp -d cajanzen/webdev-toolkit sleep infinity

This is useful if you don't need to change the mounted volume, and you plan to re-enter the container often. You can enter the sleeping container as follows:

docker exec -it toolkit login

Note that if you put a container into the background, you will need to manually stop it and delete it.

docker stop toolkit
docker rm toolkit -v

(the -v deletes any named volumes the container might have had)

Tag summary

Content type

Image

Digest

Size

269.7 MB

Last updated

about 9 years ago

docker pull cajanzen/webdev-toolkit