Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Certificates problem when running "docker build" in unraid?

Featured Replies

I should probably be doing my work in a VM or container, but I'm working on a docker container that uses the "webdizz/docker-baseimage-java8" base.

 

When I run "docker build", I get this error:

 

Sending build context to Docker daemon 198.1 kB
Sending build context to Docker daemon
Step 0 : FROM webdizz/docker-baseimage-java8
Pulling repository webdizz/docker-baseimage-java8
INFO[0000] Get https://index.docker.io/v1/repositories/webdizz/docker-baseimage-java8/images: x509: failed to load system roots and no roots provided

 

I ran

update-ca-certificates

and it didn't help. I see 165 certificates in /etc/ssl/certs.

 

Has anyone else run into this?

nope, but i have a fix.

 

why not just use phusion, and then run everything that makes that a java8 baseimage ?

 

 

 

FROM phusion/baseimage:0.9.16

MAINTAINER Izzet Mustafaiev "[email protected]"

# Set correct environment variables.
ENV	HOME /root
ENV	LANG en_US.UTF-8
ENV	LC_ALL en_US.UTF-8
ENV	DEBIAN_FRONTEND	noninteractive

# set sane locale
RUN	locale-gen en_US.UTF-8

RUN apt-get -y update \
&& apt-get -y install software-properties-common python-software-properties \
&& add-apt-repository ppa:webupd8team/java \
&& apt-get clean \
&& apt-get -y update \
    && echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections \
    && apt-get -y install oracle-java8-installer \
    && apt-get clean \
    && update-alternatives --display java \
    && rm -rf /build \
    && rm -rf /tmp/* /var/tmp/* \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get remove -y x11-common software-properties-common python-software-properties python3-software-properties

ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

 

that's the dockerfile for that image.

 

  • Author

Yeah, that's basically what I did, but using 0.9.11. I guess that works because I've already downloaded that container.

 

But when I try your Dockerfile:

 

$ docker build --rm -t test .
Sending build context to Docker daemon  2.56 kB
Sending build context to Docker daemon
Step 0 : FROM phusion/baseimage:0.9.16
Pulling repository phusion/baseimage
INFO[0000] Get https://index.docker.io/v1/repositories/phusion/baseimage/images: x509: failed to load system roots and no roots provided

 

I also can't push an image :(

 

$ docker push coppit/filebot
The push refers to a repository [coppit/filebot] (len: 1)
Sending image list
FATA[0000] Put https://index.docker.io/v1/repositories/coppit/filebot/: x509: failed to load system roots and no roots provided

  • Author

Can anyone running 6.0-rc3 confirm that they can "docker pull" some image that they don't already have?

  • Author

Huh. Stopping and restating the Docker daemon from settings did the trick.

  • Author

And now it's back, and no amount of stopping/starting fixes it. :(

 

I guess I'll start a thread in the bugs forum.

And now it's back, and no amount of stopping/starting fixes it. :(

 

I guess I'll start a thread in the bugs forum.

 

i'm betting that this is a docker hub issue and not an unraid one

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.