Git Product home page Git Product logo

docker's People

Contributors

mondain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Extremely high memory usage

Hi there!

With just one stream and one client, I am facing memory consumptions of 45GB+ (on a Server with 144GB System Ram)

Has anybody faced this issue before?

Unknown instruction at Dockerfile

Executing Red5pro via docker

sfrias@UNCORN03 MINGW64 ~
$ docker build -t="mondain/red5" github.com/Red5/docker
Sending build context to Docker daemon 99.33 kB
Step 1 : RED5-106/DOCKERFILE
Unknown instruction: RED5-106/DOCKERFILE

sfrias@UNCORN03 MINGW64 ~
$ docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 0
Server Version: 1.10.3
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 4
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.1.19-boot2docker
Operating System: Boot2Docker 1.10.3 (TCL 6.4.1); master : 625117e - Thu Mar 10 22:09:02 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.1 MiBsfrias@UNCORN03 MINGW64 ~
$ docker build -t="mondain/red5" github.com/Red5/docker
Sending build context to Docker daemon 99.33 kB
Step 1 : RED5-106/DOCKERFILE
Unknown instruction: RED5-106/DOCKERFILE

sfrias@UNCORN03 MINGW64 ~
$ docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 0
Server Version: 1.10.3
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 4
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.1.19-boot2docker
Operating System: Boot2Docker 1.10.3 (TCL 6.4.1); master : 625117e - Thu Mar 10 22:09:02 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.1 MiB
Name: default
ID: EN52:MZPS:DN6X:J4OL:OBRW:BWK3:2RSS:53HA:D726:MQAR:OEIV:ROVB
Debug mode (server): true
File Descriptors: 10
Goroutines: 21
System Time: 2016-04-13T16:05:45.470526398Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox
Name: default
ID: EN52:MZPS:DN6X:J4OL:OBRW:BWK3:2RSS:53HA:D726:MQAR:OEIV:ROVB
Debug mode (server): true
File Descriptors: 10
Goroutines: 21
System Time: 2016-04-13T16:05:45.470526398Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox

error on build, unknown image id

i get this on ubuntu 14.04 server:

$ uname -a
Linux coolhost 3.13.0-54-generic #91-Ubuntu SMP Tue May 26 19:15:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ docker -v
Docker version 1.6.2, build 7c8fca2
$ docker build -t="mondain/red5" github.com/Red5/docker
Sending build context to Docker daemon 165.4 kB
Sending build context to Docker daemon 
Step 0 : FROM java:openjdk-7-jdk
openjdk-7-jdk: Pulling from java
64e5325c0d9d: Download complete 
bf84c1d84a8f: Download complete 
87de57de6955: Download complete 
6a974bea7c0d: Download complete 
06c293acac6e: Download complete 
aad2154e3cf6: Download complete 
c40184c0f4d8: Download complete 
2451fe5f5c0d: Download complete 
39b678444b33: Downloading [===================>                               ] 54.06 MB/139.7 MB
39b678444b33: Download complete 
INFO[0091] could not find image: no such id: 39b678444b3372f573d511975fedf699d0e1177ab66c71d3faec6bca8c868ee7

issues extending due to VOLUME ["/opt/red5"]

Because of VOLUME ["/opt/red5"] in the base Dockerfile if I do something like:

COPY target/some_web_app /opt/red5/webapps/

those files won't COPY into /opt/red5 because further modifications to /opt/red5 has been declared to be excluded from the AUFS layer from the VOLUME.

The VOLUME command should probably be left to users extending the Docker image and restricted to things like the log folders if they are included.

Also, is there any reason Java8 versions of the Dockerfile aren't included here?

Volume mounting issue

Hi,

ran into an issue, when I try to mount a volume for the RED5 server, it fails. I need it to include our custom webapps folder for red5. If you could help out, that'd be awesome.

Tried running:
docker run -it -p 5080:5080 -p 1935:1935 -p 8081:8081 -v /home/var/www/red5/data:/opt/red5 paraastro/red5ms
Error I get is:
exec: "./red5.sh": stat ./red5.sh: no such file or directory docker: Error response from daemon: Container command not found or does not exist..

Dockerfile I build is this:
`
FROM java:8
MAINTAINER Paul Gregoire [email protected]

ENV DEBIAN_FRONTEND noninteractive
ENV RED5_VERSION 1.0.6-RELEASE

Define RED5_HOME variable

ENV RED5_HOME /opt/red5

RUN mkdir -p $RED5_HOME

RUN cp red5-server-${RED5_VERSION}/* /home/var/www/red5/data

RUN apt-get update &&
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&
wget -q https://github.com/Red5/red5-server/releases/download/v${RED5_VERSION}/red5-server-${RED5_VERSION}-server.tar.gz -O red5.tar.gz &&
tar -xzf red5.tar.gz &&
mv red5-server-${RED5_VERSION}/* ${RED5_HOME} &&
rm -rf red5*

https://docs.docker.com/userguide/dockervolumes/

VOLUME ["/opt/red5"]

WORKDIR /opt/red5
EXPOSE 843 1935 5080 5443 8081 8443

ENTRYPOINT ["./red5.sh"]`

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.