Giter Club home page Giter Club logo

docker-meteor's Introduction

docker-meteor

Docker automatic build for meteor development, including SSH and Samba servers (mostly for Mac OS X and Windows)

Usage

To create the image, execute the following command on the tutum-docker-lamp folder:

docker build -t kossoy/meteor .

Running your Meteor docker image

Start your image binding the external ports 3000 (meteor-dev), 445 (samba) and 22 (ssh) in all interfaces to your container:

docker run --name <container name> -d -p 3000:3000 -p 2222:22 -p 445:445 kossoy/meteor

Connecting to the ssh server

The first time that you run your container, a random password will be generated for user root. To get the password, check the logs of the container by running:

docker logs <CONTAINER_ID>

You will see an output like the following:

========================================================================
You can now connect to this Ubuntu container via SSH using:

    ssh -p <port> root@<host>
and enter the root password 'U0iSGVUCr7W3' when prompted

Please remember to change the above password as soon as possible!
========================================================================

In this case, U0iSGVUCr7W3 is the password allocated to the root user.

Thanks to https://github.com/tutumcloud/tutum-ubuntu

docker-meteor's People

Contributors

kossoy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-meteor's Issues

Mongo fails to start due to file system issues

I tried your wonderful container. I did the following:

  1. ssh in
  2. cd /apps
  3. meteor create --example todos
  4. cd todos
  5. meteor

I got the following output:
root@meteor:/apps/todos# meteor
[[[[[ /apps/todos ]]]]]

=> Started proxy.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start Mongo server.
MongoDB had an unspecified uncaught exception.
This can be caused by MongoDB being unable to write to a local database.
Check that you have permissions to write to .meteor/local. MongoDB does
not support filesystems like NFS that do not allow file locking.

Does there need to be a volume mapping from the docker host into the container?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.