Beets container.


Recommended Posts

  • Replies 75
  • Created
  • Last Reply

Top Posters In This Topic

I am curious why you chose "FROM ubuntu:saucy". Almost every other container here currently uses phusion so downloding a whole new base OS layer may discourage uNRAID users (as in will :)

 

Good work though this is definitely an app people should have

Link to comment

I will update to trusty. Phusion uses trusty so that will resolve the issue of downloading a whole new base image. I don't believe in using phusion's image for  beets because it is overkill. Beets in usually done in batch run's and with docker 1.3 the exec command will make the sshd service on the container useless and will be remove. Everything else phusion's image address is not applicable for something like beets.

Link to comment
  • 4 weeks later...
  • 1 month later...

I'm also waiting patiently!

:D

 

Hurricane has been quite so, I've moved this over to phusion and have it automatically download the beets.sh and put it in the config folder. I do not use Beets so it is in my beta repository right now until we are sure it works with the migration to phusion.

 

Please test and let me know in this thread.

 

NOTE: All credit for this goes to Hurricane.. I made some simple changes

 

Beta Repo: https://github.com/smdion/docker-containers/tree/beta-templates

Link to comment

Ive installed it, however cannot get it to start.

 

This is whats in my log

 

Dec 23 14:40:30 SERVO php: /usr/bin/docker start Beets

Dec 23 14:40:30 SERVO kernel: device vetha4c60a0 entered promiscuous mode

Dec 23 14:40:30 SERVO avahi-daemon[2065]: Withdrawing workstation service for veth679e541.

Dec 23 14:40:30 SERVO kernel: eth0: renamed from veth679e541

Dec 23 14:40:30 SERVO php: Beets

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO php:

Dec 23 14:40:31 SERVO avahi-daemon[2065]: Withdrawing workstation service for vetha4c60a0.

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Dec 23 14:40:31 SERVO kernel: device vetha4c60a0 left promiscuous mode

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Link to comment

Ive installed it, however cannot get it to start.

 

This is whats in my log

 

Dec 23 14:40:30 SERVO php: /usr/bin/docker start Beets

Dec 23 14:40:30 SERVO kernel: device vetha4c60a0 entered promiscuous mode

Dec 23 14:40:30 SERVO avahi-daemon[2065]: Withdrawing workstation service for veth679e541.

Dec 23 14:40:30 SERVO kernel: eth0: renamed from veth679e541

Dec 23 14:40:30 SERVO php: Beets

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO php:

Dec 23 14:40:31 SERVO avahi-daemon[2065]: Withdrawing workstation service for vetha4c60a0.

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Dec 23 14:40:31 SERVO kernel: device vetha4c60a0 left promiscuous mode

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

 

Sorry, I'm a newb when it comes to Beets.  Are you saying the docker itself won't start or the Beets app?

Link to comment

Ive installed it, however cannot get it to start.

 

This is whats in my log

 

Dec 23 14:40:30 SERVO php: /usr/bin/docker start Beets

Dec 23 14:40:30 SERVO kernel: device vetha4c60a0 entered promiscuous mode

Dec 23 14:40:30 SERVO avahi-daemon[2065]: Withdrawing workstation service for veth679e541.

Dec 23 14:40:30 SERVO kernel: eth0: renamed from veth679e541

Dec 23 14:40:30 SERVO php: Beets

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO php:

Dec 23 14:40:31 SERVO avahi-daemon[2065]: Withdrawing workstation service for vetha4c60a0.

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Dec 23 14:40:31 SERVO kernel: device vetha4c60a0 left promiscuous mode

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

 

Sorry, I'm a newb when it comes to Beets.  Are you saying the docker itself won't start or the Beets app?

 

All good, so am I :)

 

The docker itself wont start, when i click start it it produces the above in the log and fails to start

Link to comment

Ive installed it, however cannot get it to start.

 

This is whats in my log

 

Dec 23 14:40:30 SERVO php: /usr/bin/docker start Beets

Dec 23 14:40:30 SERVO kernel: device vetha4c60a0 entered promiscuous mode

Dec 23 14:40:30 SERVO avahi-daemon[2065]: Withdrawing workstation service for veth679e541.

Dec 23 14:40:30 SERVO kernel: eth0: renamed from veth679e541

Dec 23 14:40:30 SERVO php: Beets

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO php:

Dec 23 14:40:31 SERVO avahi-daemon[2065]: Withdrawing workstation service for vetha4c60a0.

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Dec 23 14:40:31 SERVO kernel: device vetha4c60a0 left promiscuous mode

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

 

Sorry, I'm a newb when it comes to Beets.  Are you saying the docker itself won't start or the Beets app?

 

All good, so am I :)

 

The docker itself wont start, when i click start it it produces the above in the log and fails to start

 

Back from Christmas Holiday... I'll take a look today

Link to comment

Ive installed it, however cannot get it to start.

 

This is whats in my log

 

Dec 23 14:40:30 SERVO php: /usr/bin/docker start Beets

Dec 23 14:40:30 SERVO kernel: device vetha4c60a0 entered promiscuous mode

Dec 23 14:40:30 SERVO avahi-daemon[2065]: Withdrawing workstation service for veth679e541.

Dec 23 14:40:30 SERVO kernel: eth0: renamed from veth679e541

Dec 23 14:40:30 SERVO php: Beets

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO kernel: docker0: port 3(vetha4c60a0) entered forwarding state

Dec 23 14:40:30 SERVO php:

Dec 23 14:40:31 SERVO avahi-daemon[2065]: Withdrawing workstation service for vetha4c60a0.

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

Dec 23 14:40:31 SERVO kernel: device vetha4c60a0 left promiscuous mode

Dec 23 14:40:31 SERVO kernel: docker0: port 3(vetha4c60a0) entered disabled state

 

Sorry, I'm a newb when it comes to Beets.  Are you saying the docker itself won't start or the Beets app?

 

All good, so am I :)

 

The docker itself wont start, when i click start it it produces the above in the log and fails to start

 

Back from Christmas Holiday... I'll take a look today

 

So I'm an an idiot.  Fixed it.

 

#!/bin/bash is needed ;)

Link to comment

Great, its starting now, but now I have what is probably a really silly question.

 

I notice that it binds to port 4022, so does that mean i need to ssh into my server IP:4022? When i do so, it asks for a username and password which are different to the default port 22 root account of my server.

 

When i SSH in to port 22 beets is not present.

 

Can someone point me in the right direction as its possible i am doing it wrong...

Link to comment

Great, its starting now, but now I have what is probably a really silly question.

 

I notice that it binds to port 4022, so does that mean i need to ssh into my server IP:4022? When i do so, it asks for a username and password which are different to the default port 22 root account of my server.

 

When i SSH in to port 22 beets is not present.

 

Can someone point me in the right direction as its possible i am doing it wrong...

 

That one, I'm afraid, I don't know I've never used beets.

Link to comment

When I try the command you just listed this is what I get:

 

root@Tower:~# docker exec Beets beet

Error: Command not found: exec

Error: Command not found: Beets

Usage: docker [OPTIONS] COMMAND [arg...]

-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use

 

A self-sufficient runtime for linux containers.

 

Link to comment

When I try the command you just listed this is what I get:

 

root@Tower:~# docker exec Beets beet

Error: Command not found: exec

Error: Command not found: Beets

Usage: docker [OPTIONS] COMMAND [arg...]

-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use

 

A self-sufficient runtime for linux containers.

 

What version of unRAID are you on?  Did you rename the container when installing it?

Link to comment

I am on 6 beta 10a. 

 

I didn't rename anything.

 

Beets smdion/docker-beets:latest 12 minutes ago Up 5 minutes 192.168.1.83:4022->4022/tcp

/mnt/user/Music/:/opt/downloads/music:rw

/mnt/user/Music/Album Artists/:/opt/tmp:rw

/mnt/cache/.apps/beets:/config:rw

750ae3123948

Updated

 

smdion/docker-beets:latest Beets 24b54214f6bc 5 days ago 531.2 MB

Link to comment

I am on 6 beta 10a. 

 

I didn't rename anything.

 

Beets smdion/docker-beets:latest 12 minutes ago Up 5 minutes 192.168.1.83:4022->4022/tcp

/mnt/user/Music/:/opt/downloads/music:rw

/mnt/user/Music/Album Artists/:/opt/tmp:rw

/mnt/cache/.apps/beets:/config:rw

750ae3123948

Updated

 

smdion/docker-beets:latest Beets 24b54214f6bc 5 days ago 531.2 MB

 

Ahh thats why. Beta12 added "docker: update to 1.3.2".  This is what brought in the "docker exec" command, which basically passes the command from unRAID to the container.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.