Koozali.org: home of the SME Server

docker installation won't work

Offline redteo

  • *
  • 122
  • +0/-0
    • redteo blog
docker installation won't work
« on: March 31, 2019, 08:28:34 PM »
Code: [Select]
[root@server media]# yum --enablerepo=reetp,epel install smeserver-docker
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.garr.it
 * epel: fedora.mirror.garr.it
 * smeaddons: mirror.pialasse.com
 * smeextras: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: centos.mirror.garr.it
No package smeserver-docker available.
Error: Nothing to do
[root@server media]#


any suggestion thanks

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: docker installation won't work
« Reply #1 on: April 01, 2019, 02:25:41 AM »
More info please, First, Did you install the reetp repo

Added: actually looks like John has moved the file on..he will comment when he sees this
« Last Edit: April 01, 2019, 02:35:45 AM by TerryF »
--
qui scribit bis legit

Offline redteo

  • *
  • 122
  • +0/-0
    • redteo blog
Re: docker installation won't work
« Reply #2 on: April 01, 2019, 11:33:59 AM »
More info please, First, Did you install the reetp repo

off course  :-o

Quote
Added: actually looks like John has moved the file on..he will comment when he sees this

hope so

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: docker installation won't work
« Reply #3 on: April 01, 2019, 09:07:45 PM »
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #4 on: April 01, 2019, 09:52:55 PM »
Been out today. I'll have a look tomorrow and get back to you.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #5 on: April 02, 2019, 03:27:00 PM »
Just to say I am looking at this, but as with everything in life, it is a little more complicated than it was!

There are a number of gotchas I need to try and sort out.

Yes I moved the contrib it to my test repo as it is still a work in progress.

It is in a bit of a halfway house.... I had done quite a bit of work trying to simplify the networking and various functionality but ran into some issues that I need to look at. I can't easily go back and build an older simpler version at the minute :-(

On top of that, for some reason or other, they pulled the docker-io rpm from EPEL that I was using.

I have found another copy, and I have the SRPM but can't get the thing to build at the minute - trying to find out why.

Give me a day to two and I'll try to get you something to test with.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline redteo

  • *
  • 122
  • +0/-0
    • redteo blog
Re: docker installation won't work
« Reply #6 on: April 02, 2019, 04:23:05 PM »
Not so urgent. Take your time.
I discovered docker reading your answer about my problem upgrading Plex.
And need some experimentation to learn how to use that. Thanks anyway

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #7 on: April 02, 2019, 05:44:25 PM »
I know :-)

Just trying to fix a couple of things that will help you with set up that I never got round to finishing before.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #8 on: April 02, 2019, 06:12:30 PM »
Just a FYI...

[root@test configs]# docker-compose up -d plex
Removing plex
Recreating e93fdee716_plex

[root@test configs]# docker ps -a
CONTAINER ID        IMAGE                                                              COMMAND                CREATED             STATUS                   PORTS               NAMES
6fe3cc058991        plexinc/pms-docker                                                 "/init"                10 seconds ago      Up 10 seconds                                plex               

[root@test configs]# docker logs -f plex
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing...
Creating pref shell
Attempting to obtain server token from claim token
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     1    0     1    0     0      2      0 --:--:-- --:--:-- --:--:--     2
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.

And I have a web page I can login to (though I have this on cloud box and doing over a VPN - need to probably open up some ports now)

So it seems that at least at the minute it works :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #9 on: April 03, 2019, 06:18:45 PM »
OK - I about have the contrib going - had to build a perl rpm to go with it.

I am currently stuck on rebuilding the docker-1.7.2 srpm

I do have a built rpm but can't verify it and would prefer to build from a srpm.

Keep you posted.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #10 on: April 04, 2019, 05:01:33 PM »
Damn.

After loads of hacking about I managed to get v 1.12.6 built as a RPM and all seemed good.

Or so I thought. After ages messing about I finally saw tis

"level=fatal msg="Your Linux kernel version 2.6.32-754.10.1.el6.x86_64 is not supported for running docker. Please upgrade"

FFS.

So it builds fine, but won't run? Grrrrrrrr.

Back to 1.7.1 but that won't build at the minute.

Wish I could find a copy of the original EPEL rpm I installed. Just can't see one anywhere.

Been a frustrating couple of days and night.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: docker installation won't work
« Reply #11 on: April 09, 2019, 03:13:01 PM »
Try upgrading kernel using elrepo.
You can be confident with their kernel.

Furthermore, even with the previous epel version, while docker seemed running fine, a lot of container were issuing various warning or unplanned behaviour unless you get a 4.x kernel.

So the thing here, if you need to run docker you’d better get the latest kernel anyway as most of container will make call to newer options of kernel

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: docker installation won't work
« Reply #12 on: April 09, 2019, 04:08:42 PM »
Probably not worth the hassle though I can try it.

No idea why they pulled the docker-io package. Plex works on it, as does Rocketchat....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation