docker-library / docs Goto Github PK
View Code? Open in Web Editor NEWDocumentation for Docker Official Images in docker-library
Home Page: https://github.com/docker-library/official-images
License: MIT License
Documentation for Docker Official Images in docker-library
Home Page: https://github.com/docker-library/official-images
License: MIT License
Node, Ruby, Rails
The MySQL images have some cool environment variables that do neat things like make a default database for you, so we really ought to document them.
The latest version of this dockerfile has an entry point that already adds daemon off, so the following note in https://github.com/docker-library/docs/blob/master/nginx/content.md is wrong:
Be sure to include daemon off; in your custom configuration to ensure that Nginx stays in the foreground so that Docker can track the process properly (otherwise your container will stop immediately after starting)!
Actually, if you include daemon off
, nginx will not start because of duplicate directive.
If someone only wants one or two platforms and don't feel like they need the full golang:cross
image, they can use something simple like:
FROM golang
RUN cd /usr/src/go/src && GOOS=windows GOARCH=amd64 ./make.bash --no-clean
RUN cd /usr/src/go/src && GOOS=darwin GOARCH=amd64 ./make.bash --no-clean
In section talking about installing PHP extensions there are mentioned docker-php-ext-configure
and docker-php-ext-install
but not docker-php-ext-enable
.
Also there is not explained that if some extension is not in the distribution with PHP, it has to be installed by PECL and then enabled by docker-php-ext-enable
.
I dont't understand much how it works adn don't know if I do it correctly. If somebody explains it in issue, I can prepare PR then.
We need to add "hylang" to our list. ;)
Why is the documentation for the official Debian images located here, but pointing at https://github.com/tianon/docker-brew-debian for the actual Dockerfiles?
Shouldn't it be a separate repository under docker-library like most of the other stuff?
(Yes, I have noticed that tianon is a contributor to this repository as well, but IMO it feels better if it's all under one umbrella.)
While running this image I ran into an issue on my Mac with the localtime
mount. Searched web to find this is no longer needed on Mac.
Talking to @jfrazelle confirmed that the command line is Linux specific. The docs should be updated for Mac use --- I'm planning on doing that shortly.
I'm looking to connect to the db remotely with robomongo, but I need to know the password for that, is there an environmental variable I can set for the PW or can I find it somewhere? I expected it to appear in the logs, but it didn't show up for me...
how to install elasticsearch plugin with docker?
I couldn't find a docs issue specifically regarding php:fpm
lacking good docs, so I'm creating this to try and catalyze that a little better.
Useful information:
It says:
You can also pass in additional flags to elasticsearch:
docker run -d elasticsearch elasticsearch -Des.node.name="TestNode"
It should be either :
docker run -d elasticsearch -Des.node.name="TestNode"
Or:
docker run -d --name elasticsearch elasticsearch -Des.node.name="TestNode"
I ran the following commands to setup sentry,
docker run -d --name log-analyser-redis redis
docker run -d --name log-analyser-postgres -e POSTGRES_PASSWORD=secret -e POSTGRES_USER=sentry postgres
docker run -d -p 9090:9000 -v /home/siva/log-analyser/ --name log-analyser-sentry --link log-analyser-redis:redis --link log-analyser-postgres:postgres sentry
docker run -it --rm --link log-analyser-postgres:postgres --link log-analyser-redis:redis sentry sentry upgrade
docker run -d --name log-analyser-celery-beat --link log-analyser-redis:redis -e CELERY_BROKER_URL=redis://redis celery celery beat
docker run -d --name log-analyser-celery-worker1 --link log-analyser-redis:redis -e CELERY_BROKER_URL=redis://redis celery
After logging in, I see this message,
Background workers haven't checked in recently. This can mean an issue with your configuration or a serious backlog in tasks.
After this I had to run sentry celery worker -B &
inside the container to get it to work. This is my first time setting up sentry so there might be a better way to achieve this, but I felt this should've been a part of the docs.
I'm on a mac. I use the command
docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 elasticsearch
to launch elastic but it immediately shuts down with this message
{1.7.3}: Initialization Failed ...
Any ideas on how to fix?
Add docs for the magic godir (mention go-wrapper?)
Added here: docker-library/golang#10
(This issue originated here: nodejs/docker-node#26)
The node readme notes about the slim package:
node:slim
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run node. Unless you are working in an environment where only the node image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
But when looking at the Dockerfile 0.10 slim it seems that it is suitable for runtime. As noted here:
If your app doesn't need to compile any modules or external dependencies than it should be fine.
nodejs/docker-node#26 (comment)
So the question is wether and how the description for node:slim could be reworded.
Doing a clean docker build
of this repo procuces the following error when installing [email protected]
Step 5 : RUN cpanm [email protected]
---> Running in 6ce3ce2121e7
cpanm (App::cpanminus) 1.7027 on perl 5.020002 built for x86_64-linux
Work directory is /root/.cpanm/work/1426267430.9
You have make /usr/bin/make
You have /usr/bin/wget
You have /bin/tar: tar (GNU tar) 1.27.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
Searching Mojolicious (== 5.80) on metacpan ...
converted 'http://api.metacpan.org/v0/file/_search?source=%7B%22fields%22%3A%5B%22date%22%2C%22release%22%2C%22author%22%2C%22module%22%2C%22status%22%5D%2C%22query%22%3A%7B%22filtered%22%3A%7B%22query%22%3A%7B%22nested%22%3A%7B%22path%22%3A%22module%22%2C%22score_mode%22%3A%22max%22%2C%22query%22%3A%7B%22custom_score%22%3A%7B%22metacpan_script%22%3A%22score_version_numified%22%2C%22query%22%3A%7B%22constant_score%22%3A%7B%22filter%22%3A%7B%22and%22%3A%5B%7B%22term%22%3A%7B%22module.authorized%22%3Atrue%7D%7D%2C%7B%22term%22%3A%7B%22module.indexed%22%3Atrue%7D%7D%2C%7B%22term%22%3A%7B%22module.name%22%3A%22Mojolicious%22%7D%7D%2C%7B%22term%22%3A%7B%22module.version%22%3A%225.80%22%7D%7D%5D%7D%7D%7D%7D%7D%7D%7D%7D%7D%7D' (ANSI_X3.4-1968) -> 'http://api.metacpan.org/v0/file/_search?source={"fields":["date","release","author","module","status"],"query":{"filtered":{"query":{"nested":{"path":"module","score_mode":"max","query":{"custom_score":{"metacpan_script":"score_version_numified","query":{"constant_score":{"filter":{"and":[{"term":{"module.authorized":true}},{"term":{"module.indexed":true}},{"term":{"module.name":"Mojolicious"}},{"term":{"module.version":"5.80"}}]}}}}}}}}}}' (UTF-8)
--2015-03-13 17:23:50-- http://api.metacpan.org/v0/file/_search?source=%7B%22fields%22:[%22date%22,%22release%22,%22author%22,%22module%22,%22status%22],%22query%22:%7B%22filtered%22:%7B%22query%22:%7B%22nested%22:%7B%22path%22:%22module%22,%22score_mode%22:%22max%22,%22query%22:%7B%22custom_score%22:%7B%22metacpan_script%22:%22score_version_numified%22,%22query%22:%7B%22constant_score%22:%7B%22filter%22:%7B%22and%22:[%7B%22term%22:%7B%22module.authorized%22:true%7D%7D,%7B%22term%22:%7B%22module.indexed%22:true%7D%7D,%7B%22term%22:%7B%22module.name%22:%22Mojolicious%22%7D%7D,%7B%22term%22:%7B%22module.version%22:%225.80%22%7D%7D]%7D%7D%7D%7D%7D%7D%7D%7D%7D%7D
Resolving api.metacpan.org (api.metacpan.org)... 5.153.225.19
Connecting to api.metacpan.org (api.metacpan.org)|5.153.225.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 970 [application/json]
Saving to: 'STDOUT'
0K 100% 35.4M=0s
2015-03-13 17:23:50 (35.4 MB/s) - written to stdout [970/970]
converted 'http://api.metacpan.org/v0/release/_search?source=%7B%22fields%22%3A%5B%22download_url%22%2C%22stat%22%2C%22status%22%5D%2C%22filter%22%3A%7B%22and%22%3A%5B%7B%22term%22%3A%7B%22release.name%22%3A%22Mojolicious-5.80%22%7D%7D%2C%7B%22term%22%3A%7B%22release.author%22%3A%22SRI%22%7D%7D%5D%7D%7D' (ANSI_X3.4-1968) -> 'http://api.metacpan.org/v0/release/_search?source={"fields":["download_url","stat","status"],"filter":{"and":[{"term":{"release.name":"Mojolicious-5.80"}},{"term":{"release.author":"SRI"}}]}}' (UTF-8)
--2015-03-13 17:23:50-- http://api.metacpan.org/v0/release/_search?source=%7B%22fields%22:[%22download_url%22,%22stat%22,%22status%22],%22filter%22:%7B%22and%22:[%7B%22term%22:%7B%22release.name%22:%22Mojolicious-5.80%22%7D%7D,%7B%22term%22:%7B%22release.author%22:%22SRI%22%7D%7D]%7D%7D
Resolving api.metacpan.org (api.metacpan.org)... 5.153.225.19
Connecting to api.metacpan.org (api.metacpan.org)|5.153.225.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 776 [application/json]
Saving to: 'STDOUT'
0K 100% 28.5M=0s
2015-03-13 17:23:50 (28.5 MB/s) - written to stdout [776/776]
--> Working on Mojolicious
converted 'http://backpan.perl.org/authors/id/S/SR/SRI/Mojolicious-5.80.tar.gz' (ANSI_X3.4-1968) -> 'http://backpan.perl.org/authors/id/S/SR/SRI/Mojolicious-5.80.tar.gz' (UTF-8)
--2015-03-13 17:23:50-- http://backpan.perl.org/authors/id/S/SR/SRI/Mojolicious-5.80.tar.gz
Resolving backpan.perl.org (backpan.perl.org)... 207.171.7.91, 2607:f238:3::91:1
Connecting to backpan.perl.org (backpan.perl.org)|207.171.7.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 638030 (623K) [application/x-gzip]
Saving to: 'Mojolicious-5.80.tar.gz'
0K .......... .......... .......... .......... .......... 8% 138K 4s
50K .......... .......... .......... .......... .......... 16% 288K 3s
100K .......... .......... .......... .......... .......... 24% 1.68M 2s
150K .......... .......... .......... .......... .......... 32% 322K 2s
200K .......... .......... .......... .......... .......... 40% 1.76M 1s
250K .......... .......... .......... .......... .......... 48% 1.57M 1s
300K .......... .......... .......... .......... .......... 56% 412K 1s
350K .......... .......... .......... .......... .......... 64% 1.67M 1s
400K .......... .......... .......... .......... .......... 72% 1.75M 0s
450K .......... .......... .......... .......... .......... 80% 1.87M 0s
500K .......... .......... .......... .......... .......... 88% 1.69M 0s
550K .......... .......... .......... .......... .......... 96% 761K 0s
600K .......... .......... ... 100% 1.77M=1.1s
2015-03-13 17:23:52 (572 KB/s) - 'Mojolicious-5.80.tar.gz' saved [638030/638030]
Fetching http://backpan.perl.org/authors/id/S/SR/SRI/Mojolicious-5.80.tar.gz ... OK
converted 'http://backpan.perl.org/authors/id/S/SR/SRI/CHECKSUMS' (ANSI_X3.4-1968) -> 'http://backpan.perl.org/authors/id/S/SR/SRI/CHECKSUMS' (UTF-8)
--2015-03-13 17:23:52-- http://backpan.perl.org/authors/id/S/SR/SRI/CHECKSUMS
Resolving backpan.perl.org (backpan.perl.org)... 207.171.7.91, 2607:f238:3::91:1
Connecting to backpan.perl.org (backpan.perl.org)|207.171.7.91|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-03-13 17:23:52 ERROR 404: Not Found.
Verifying the signature of CHECKSUMS
Fetching http://backpan.perl.org/authors/id/S/SR/SRI/CHECKSUMS ... OK
gpg: verify signatures failed: eof
! Verifying CHECKSUMS signature failed:
! Failed to fetch distribution Mojolicious-5.80
INFO[0534] The command [/bin/sh -c cpanm [email protected]] returned a non-zero code: 1
This file: https://github.com/docker-library/docs/tree/master/centos
States that to run CentOS with systemd
you need --privileged
. It seems to work without this in:
docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64
Alternatively, this article claims that --cap-add=SYS_ADMIN
is a sufficient replacement of --privileged
Am I missing something or is the documentation out of date?
Thanks!
EDIT: To be clear, in my testing, not even --cap-add=SYS_ADMIN
is necessary.
As suggested in best practices.
It also makes bundler complain.
Pluck is used in push.pl but it had been removed since Mojo:5.73: https://github.com/kraih/mojo/blob/master/Changes#L237
Can you guys update this?
Document the ability to use a tar from standard in to make a super slim runtime image with just the needed binary.
Hi, I run this command
sudo docker run --name ghost -p 8080:2368 -v /path/tot/Ghost:/var/lib/ghost ghost
and it told me
mkdir: cannot create directory '/var/lib/ghost/apps': Permission denied
is it cannot use sudoer to run it ? (because fedora default let me use sudoer)
or something else wrong?
I just saw this comment on Docker Hub:
For an official repo, this seems to be lacking in documentation.
cc/ @willroden
In the documentation for the MongoDB image it should be mentioned, that the data is stored under /data/db
See docker-library/postgres#13 for slightly more context.
It'd be great if we could expand on our psql
example to also mention the much shorter method of just using the /etc/hosts
entry for the linked container, too:
$ docker run -it --link some-postgres:postgres --rm postgres psql -h postgres -U postgres
Hi,
I have the below Dockerfile, when i run the built image I am not able to connect to the web site, am I doing somthing wrong? are there any other methods to deploy war rather than inheriting?
Thanks
FROM jetty:9.3-jre8
ADD ./demoweb.war "$JETTY_BASE/webapps/demoweb.war"
I follow this doc, and start a mysql server with docker.
$ docker run --name docker-mysql -e MYSQL_ROOT_PASSWORD=123 -d mysql
95a0fe0abffed0376d77967168b16247c4f80727fabf58c6b6e73f8a476d91d3
The container is created successfully. I use mysql command line client to connect the server, but fail with error 2003.
$ docker run -it --link docker-mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'
Warning: Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on '172.17.0.50' (111)
From the mysqld --help --verbose
output:
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf
So we should likely mention all of /etc/my.cnf
, /etc/mysql/my.cnf
, and /usr/local/mysql/etc/my.cnf
(ie, don't bother documenting ~/.my.cnf
).
Add docs for onbuild tag that is now in python.
There is no usual STDOUT output from running example.
Just "Logstash startup completed".
$ docker run -it --rm -v "$PWD":/config-dir logstash logstash -f /config-dir/logstash.conf
Documentation is very important for such things.
I was thinking today that it would be interesting to support named groups in the "Supported tags" lists in the README.md
files.
For example, given a library file like this:
# maintainer: InfoSiftr <[email protected]> (@infosiftr)
# group: PHP 5.6
5.6.6-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5.6-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5.6.6: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5.6: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
latest: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6
5.6.6-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/apache
5.6-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/apache
5-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/apache
apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/apache
5.6.6-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/fpm
5.6-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/fpm
5-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/fpm
fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.6/fpm
# group: PHP 5.5
5.5.22-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5
5.5-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5
5.5.22: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5
5.5: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5
5.5.22-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5/apache
5.5-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5/apache
5.5.22-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5/fpm
5.5-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.5/fpm
# group: PHP 5.4
5.4.38-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4
5.4-cli: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4
5.4.38: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4
5.4: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4
5.4.38-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4/apache
5.4-apache: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4/apache
5.4.38-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4/fpm
5.4-fpm: git://github.com/docker-library/php@1e07e9134490f53d24fbd23ee3521067c8ab2d29 5.4/fpm
You'd get the following YAML markup:
- **PHP 5.6**
- [`5.6.6-cli`, `5.6-cli`, `5-cli`, `cli`, `5.6.6`, `5.6`, `5`, `latest` (*5.6/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.6/Dockerfile)
- [`5.6.6-apache`, `5.6-apache`, `5-apache`, `apache` (*5.6/apache/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.6/apache/Dockerfile)
- [`5.6.6-fpm`, `5.6-fpm`, `5-fpm`, `fpm` (*5.6/fpm/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.6/fpm/Dockerfile)
- **PHP 5.5**
- [`5.5.22-cli`, `5.5-cli`, `5.5.22`, `5.5` (*5.5/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.5/Dockerfile)
- [`5.5.22-apache`, `5.5-apache` (*5.5/apache/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.5/apache/Dockerfile)
- [`5.5.22-fpm`, `5.5-fpm` (*5.5/fpm/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.5/fpm/Dockerfile)
- **PHP 5.4**
- [`5.4.38-cli`, `5.4-cli`, `5.4.38`, `5.4` (*5.4/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.4/Dockerfile)
- [`5.4.38-apache`, `5.4-apache` (*5.4/apache/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.4/apache/Dockerfile)
- [`5.4.38-fpm`, `5.4-fpm` (*5.4/fpm/Dockerfile*)](https://github.com/docker-library/php/blob/1e07e9134490f53d24fbd23ee3521067c8ab2d29/5.4/fpm/Dockerfile)
And the following output:
See docker-library/django#5 for more context, especially @psftw's comment:
Good point. This should definitely be called out in the
django
image documentation. While I don't think it is appropriate to spell out how to deploy for production (because there is no one solution that solves everyone's needs), it would certainly be useful to refer to the upstream documentation on the matter: https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ . This documentation talks about three basic options: Apache + mod_wsgi, uWSGI, and Gunicorn. In order to enhance the documentation for thedjango
image further, we could briefly mention what these options would look like in a Docker context.For the Apache + mod_wsgi option, one could read up about it from the creator himself http://blog.dscpl.com.au/2014/12/hosting-python-wsgi-applications-using.html. Maybe we reference that page. Maybe we enhance the existing
django
repository with a new tag specific to that workflow. Maybe we simply distill the ideas there down in to basic recommendations. I would defer to the experts here.The uWSGI and Gunicorn options would just require additional python packages to install and some recommendations on how to override the CMD to utilize them (I think)?
It would be nice to have a "tip" golang image, to test against nightly builds.
See: mattes/migrate#54
We need docker to make contributors life easier, but we're losing the ability to test against tip in travis.
Hi,
I'm trying to use ROS with Docker and can't seem to find the docker network commands, that you recommend using to have ROS nodes talk to each other over a virtual network. Is this approach deprecated? Or do I need to install some sort of docker networking plug-in?
Thank you for your support!
When using a package that points to a github commit, for example:
"sequelize": "git://github.com/sequelize/sequelize#81c8b3308fc48041e696bb485bafa20e990ff14b",
you get the following error on the RUN npm install
step:
Step 0 : RUN npm install
---> Running in 9b14b01410a3
npm WARN package.json [email protected] No README data
npm ERR! git clone git://github.com/sequelize/sequelize Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-sequelize-sequelize-d4b66d1c'...
npm ERR! git clone git://github.com/sequelize/sequelize fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/sequelize/sequelize github.com: Name or service not known
npm ERR! Linux 3.18.5-tinycore64
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.5.0
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/app/npm-debug.log
INFO[1042] The command [/bin/sh -c npm install] returned a non-zero code: 1
This happens using node:0.12-onbuild
.
Here is my Dockerfile:
FROM node:0.12-onbuild
EXPOSE 8282
CMD ["NODE_ENV=production", "node", "index.js"]
I am sure it can be confusing. (lots of undocumented magic)
askjdasd
As of today, all of the official repos on Docker Hub appear to be missing their full description. Just reads "Full description is empty for this repo."
It looks like the docker-php-ext-enable
script added in docker-library/php#122 was never documented. The comments in the PR hint at standalone use of the script (pecl install mongo && docker-php-ext-enable mongo
), so it should be documented here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.