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.

[support] frakman - jcr

Featured Replies

image.png.fd6aeaceabf890d7ae7d42a73cacb400.png

Support for JFrog Container Registry docker container 

 

 


Application Name: JFrog Container Registry (JCR)
Application Site: https://www.jfrog.com/
Docker Hub: JFrog Private Registry: releases-docker.jfrog.io/jfrog/artifactory-jcr:latest
Github: N/A (JFrog does not provide one)

Github Template: https://github.com/frakman1/docker-templates/blob/master/tynor88/jcr.xml

 

Default credentials: admin/password

 

My template looks like this:

 

image.thumb.png.fde3fd51fb33d8472e5279d1abb75288.png

 

Example of usage

 

Login to the WebUI with default credentials (admin/password) and create a Local Docker Repo. 

Click on Administration -> Repositories in top left:

 

image.png.3a28b4555ae68333feff6bcbc778e5ef.png

 

Then Add Repositories -> Local Repository by clicking on the top right button:

 

image.png.1f6d056698ff6f21c38ee01a44aadb6e.png

 

I called it docker-jcr and left the default settings as is.

 

You'll need to add the JCR server to the list of insecure-registries supported by your local docker installation.

 

On Linux, that is in /etc/docker/daemon.json.

On Mac, it is in /Users/username/.docker/daemon.json

On Windows, it is in C:\ProgramData\docker\config\daemon.json

Add this if it isn't there:

 

{

...

  "insecure-registries": [
    "UNRAID-IP:6182"
  ],

...

}

 

Then from a terminal, I pulled a hello-world repo, tagged it to the new JCR repo and then pushed it to my JCR instance. e.g.

 

$docker login http://UNRAID-IP:6182
Username: admin
Password:
Login Succeeded

$docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
Digest: sha256:31b9c7d48790f0d8c50ab433d9c3b7e17666d6993084c002c2ff1ca09b96391d
Status: Image is up to date for hello-world:latest
docker.io/library/hello-world:latest

$docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              bf756fb1ae65        13 months ago       13.3kB
hello-world         linux               bf756fb1ae65        13 months ago       13.3kB

$docker tag bf756fb1ae65 UNRAID-IP:6182/docker-jcr/hello-world:latest

$docker push UNRAID-IP:6182/docker-jcr/hello-world:latest
The push refers to repository [UNRAID-IP:1182/docker-jcr/hello-world]
9c27e219663c: Pushed
latest: digest: sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042 size: 525

 

After docker push:

 

image.png.0e11354b4ca3c663c58ecd4819375284.png

Edited by frakman1

  • 9 months later...
Quote

 

Preparing to run Artifactory in Docker
Running as uid=1030(artifactory) gid=1030(artifactory) groups=1030(artifactory)
Dockerfile for this image can found inside the container.
To view the Dockerfile: 'cat /docker/artifactory-pro/Dockerfile.artifactory'.
Copying Artifactory bootstrap files
2021-11-23T19:56:25.224Z [shell] [INFO ] [] [installerCommon.sh:3436 ] [main] - Mapping value from deprecated key EXTRA_JAVA_OPTIONS to new key JF_SHARED_EXTRAJAVAOPTS
2021-11-23T19:56:25.572Z [shell] [INFO ] [] [installerCommon.sh:1514 ] [main] - Checking open files and processes limits
2021-11-23T19:56:25.588Z [shell] [INFO ] [] [installerCommon.sh:1517 ] [main] - Current max open files is 40960
2021-11-23T19:56:25.604Z [shell] [INFO ] [] [installerCommon.sh:1528 ] [main] - Current max open processes is 127573

Database connection check failed Could not determine database type
2021-11-23T19:56:25.667Z [shell] [INFO ] [] [installerCommon.sh:1595 ] [main] - Testing directory /opt/jfrog/artifactory/var has read/write permissions for user id 1030
/opt/jfrog/artifactory/app/bin/installerCommon.sh: line 1567: /opt/jfrog/artifactory/var/test-permissions: Permission denied
2021-11-23T19:56:25.692Z [shell] [INFO ] [] [installerCommon.sh:1603 ] [main] - ###########################################################
2021-11-23T19:56:25.706Z [shell] [INFO ] [] [installerCommon.sh:1604 ] [main] - /opt/jfrog/artifactory/var DOES NOT have proper permissions for user id 1030
2021-11-23T19:56:25.722Z [shell] [INFO ] [] [installerCommon.sh:1605 ] [main] - Directory: /opt/jfrog/artifactory/var, permissions: 755, owner: UNKNOWN, group: users
2021-11-23T19:56:25.738Z [shell] [INFO ] [] [installerCommon.sh:1606 ] [main] - Mounted directory must have read/write permissions for user id 1030
2021-11-23T19:56:25.755Z [shell] [INFO ] [] [installerCommon.sh:1607 ] [main] - ###########################################################
2021-11-23T19:56:25.772Z [shell] [ERROR] [] [installerCommon.sh:709 ] [main] - Directory /opt/jfrog/artifactory/var has bad permissions for user id 1030

 

I'm getting the permissions error on top when the docker first runs. What's weird is it seems to be skipping the docker variable which should be assigning it 99/100 for the UID/GID and going with 1030 erroring out because it can't write to AppData folder. Any ideas? I'm running UnRAID 6.10 RC2. 

  • 8 months later...

Hi there @neverendingtech I managed to get it running by replacing the uid/gid from the template and adding "--user 99:100"  as an extra parameter in the docker advanced options.... I guess better late than never :)

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...

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.