Jump to content

[BETA] Emby Docker


hurricanehrndz

Recommended Posts

hurricanehrndz

I'm happy to announce a new beta docker repository for emby. This is tag beta for now because it early in it's testing stages. Anyhow, please review the change listed under the BETA ppa announcement if you wish to know more about the changes included.

 

Test at your own peril please:

 

Docker Registry

Edited by hurricanehernandez
  • Like 2
Link to comment
Share on other sites

xelar

Great stuff! Thank you!

 

Have it up and running under Debian with self-compiled 4.0.3 kernel. Will report back in case of issues :)

Link to comment
Share on other sites

kolbasz

will there be plans to implement docker updating with a simple restart at some point?  The way it is now, you end up with a pile of images every time there is an update.  Not a rush, just throwing it out there.  Otherwise, I will test it out and report.

Link to comment
Share on other sites

Doonga

Documentation note: on the registry.hub.docker.com site, the directions have emby/emby in the run command, should be emby/embyserver.

Link to comment
Share on other sites

hurricanehrndz

will there be plans to implement docker updating with a simple restart at some point? The way it is now, you end up with a pile of images every time there is an update. Not a rush, just throwing it out there. Otherwise, I will test it out and report.

I don't understand the question. You want me to change the inner workings of dockers or do you want me to make a self updating docker? If you want a self updating docker, then thats against the philosophy of docker. This can easily be done though by adding a cron task that docker container. You could also update it yourself by using docker exec.
Link to comment
Share on other sites

hurricanehrndz

Documentation note: on the registry.hub.docker.com site, the directions have emby/emby in the run command, should be emby/embyserver.

Thanks.
Link to comment
Share on other sites

kolbasz

I don't understand the question. You want me to change the inner workings of dockers or do you want me to make a self updating docker? If you want a self updating docker, then thats against the philosophy of docker. This can easily be done though by adding a cron task that docker container. You could also update it yourself by using docker exec.

As an example, I run nzbdrone, when there is in update, all I need to do is docker restart nzbdrone

 

It updates itself and keeps running. With emby, I need to stop, remove container, pull the latest image, create container. This left me with several 800mb, images, so either I am doing something wrong or there has to be a better method to update but if not, fine, I'll keep doing it the way I am because other than that I have been very pleased.

Link to comment
Share on other sites

hurricanehrndz

As an example, I run nzbdrone, when there is in update, all I need to do is docker restart nzbdrone

 

It updates itself and keeps running. With emby, I need to stop, remove container, pull the latest image, create container. This left me with several 800mb, images, so either I am doing something wrong or there has to be a better method to update but if not, fine, I'll keep doing it the way I am because other than that I have been very pleased.

Yeah, nzbdrone has a self updating mechanism. Emby does but only for windows. I have looked at the code for this, but to be honest I have had the time to contribute to the project more than what I already am which is debian packaging and docker. You might want to post something in the feature request. Specifically about including the sonarr updating mechanism into emby.

For now if you don't want to pull a new image you can run the following commands:

 

docker exec EmbyServer apt-get update

docker exec EmbyServer apt-get install --only-upgrade

 

If you want to to upgrade automatically add these two commands to cron to run at 3 am daily, perhaps 5 minutes apart from each other. 

Link to comment
Share on other sites

reluctantflux

is this on 5607?   I was on 5611 with the old way.  I'd like to get the daily. Is there something I need to change?

Link to comment
Share on other sites

hurricanehrndz

There is no daily build yet for the new ppa, but I can set one up after the weekend.

Edited by hurricanehernandez
Link to comment
Share on other sites

kolbasz

Oh, I'm dumb. I thought it was something to do with emby...

 

But it's just the installer for Linux vs docker container

Link to comment
Share on other sites

kolbasz

@hurricanehernandez

 

Just curious, is this the same as 3.0.5607.2?

 

Or is it different.  I juat want to keep things straight as I know things are moving quickly...

Edited by kolbasz
Link to comment
Share on other sites

hurricanehrndz

@hurricanehernandez

 

Just curious, is this the same as 3.0.5607.2?

 

Or is it different.  I juat want to keep things straight as I know things are moving quickly...

Should be the latest stable release. So yes I believe so.

Link to comment
Share on other sites

kolbasz

OK, I was thinking maybe because the change to emby/embyserver container name it was different, but I assume that is simply because it is no longer called mbserver

Link to comment
Share on other sites

hurricanehrndz

OK, I was thinking maybe because the change to emby/embyserver container name it was different, but I assume that is simply because it is no longer called mbserver

Yes, and this ppa hosts mono 4.01.

Link to comment
Share on other sites

reluctantflux

@, Any chance we can get an update to the docker today? Very interested in trying the new Beta.

Edited by reluctantflux
Link to comment
Share on other sites

hurricanehrndz

@, Any chance we can get an update to the docker today? Very interested in trying the new Beta.

Sure, why not.
Link to comment
Share on other sites

hurricanehrndz

@reluctantflux

Should be up, please test and report back.

Edited by hurricanehernandez
Link to comment
Share on other sites

hurricanehrndz

@

 

Worked great! Thanks! I'm now on the emby/embyserver:dev branch.

Happy to hear.

Link to comment
Share on other sites

  • 6 months later...
blinddark

Hello,

I installed docker with the following Step:

docker run -d --net=host -v /volume1/d:/config/ -v /volume1/v/:/media -v /volume1/m:/music -e TZ=Europe_Berlin  -e AUTO_UPDATES_ON=true --name=Embybetanas emby/embyserver:beta

 

Emby was downloaded and starting. Now in the Webinterface there was an update and the message shut down the Emby and update manualy.

now the following command: docker exec Embybetanas apt-get update

All okay.. BIgn http://download.opensuse.org  InRelease
Get:1 http://download.opensuse.org  Release.gpg [481 B]
Get:2 http://download.opensuse.org  Release [1016 B]
Get:3 http://download.opensuse.org  Packages [58.2 kB]
Ign http://us.archive.ubuntu.com trusty InRelease
Get:4 http://us.archive.ubuntu.com trusty-updates InRelease [64.4 kB]
Get:5 http://us.archive.ubuntu.com trusty Release.gpg [933 B]
Get:6 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [831 kB]
Get:7 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [426 kB]
Get:8 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.1 kB]
now the last command: docker exec Embybetanas apt-getnstall --only-upgrade

there is the following error:

Cannot run exec command 6e4e6f411df5e42bdcb7b2207764e04b3499bb52a2e50e526e8b3afd558ec2d9 in container 49449a4a124948d9e2
131a8d8495c89bed917c1cbbc905ec361cb676a9676e81: [8] System error: exec: "apt-getnstall": executable file not found in $P
ATH
Error starting exec command in container 6e4e6f411df5e42bdcb7b2207764e04b3499bb52a2e50e526e8b3afd558ec2d9: Cannot run ex
ec command 6e4e6f411df5e42bdcb7b2207764e04b3499bb52a2e50e526e8b3afd558ec2d9 in container 49449a4a124948d9e2131a8d8495c89
bed917c1cbbc905ec361cb676a9676e81: [8] System error: exec: "apt-getnstall": executable file not found in $PATH
 

What can i do. should i Stop the emby server or the container before the last command?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...