Sign inSign up

strongloop/node

By strongloop

Updated about 9 years ago

StrongLoop, Node.js, and tools.

Image
39

100K+

strongloop/node repository overview

strongloop-docker

StrongLoop, Node, and tools.

NOTE: these images are mostly a proof of concept. If you want to use StrongLoop in Docker you probably want to look at strongloop/strong-pm.

Usage

The strongloop/node image can be used interactive or as the base for other containers.

Tags

strongloop/node comes in the following flavours:

  • strongloop/node:latest - latest node compiled from source + strongloop
  • strongloop/node:iojs - latest iojs compiled from source + strongloop
Interactive

Once you have Docker installed and the docker command working, you can pull the image from Docker Hub:

$ docker pull strongloop/node
# .... pulling down image

Now you can spin up a temporary Linux environment with node and strongloop pre-installed:

$ docker run -it strongloop/node bash
$ slc --version
strongloop v3.1.0 (node v0.10.38)
├── [email protected]
├── [email protected] (5a43a57)
├── [email protected] (1c78f8d)
├── [email protected] (9579431)
├── [email protected] (aab3dbb)
├── [email protected] (b23e63f)
├─┬ [email protected] (cd3897a)
│ └── [email protected]
├── [email protected] (b90e9cd)
├── [email protected]
└── [email protected]

strongloop@2fc58988f424:~$ exit
exit
Base Image

To use strongloop/node as the base for an image, simply specify it in your Dockerfile using FROM strongloop/node:

FROM strongloop/node

# You start off as the 'strongloop' user.
# If a RUN command needs root, you can use sudo

# In addition to standard Linux commands you also have access to node, npm,
# and slc commands

# It is common to copy your current
ADD . /home/strongloop/app
WORKDIR /home/strongloop/app
RUN npm install
ENV NODE_ENV production
CMD [ "slc", "run", "." ]

Tag summary

Content type

Image

Digest

sha256:d3f6deb32

Size

351.1 MB

Last updated

over 9 years ago

docker pull strongloop/node