red5 / docker Goto Github PK
View Code? Open in Web Editor NEWDocker + Red5 items
License: Apache License 2.0
Docker + Red5 items
License: Apache License 2.0
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?
Currently Red5 is on 1.2.3
but the last dockerfile (supposedly) has 1.0.10
-> 6c6e1ba
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
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
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?
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
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*
VOLUME ["/opt/red5"]
WORKDIR /opt/red5
EXPOSE 843 1935 5080 5443 8081 8443
ENTRYPOINT ["./red5.sh"]`
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.