Docker: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission deniedPercona MySQL 5.5 fails...

PTIJ: What dummy is the Gemara referring to?

Would the melodic leap of the opening phrase of Mozart's K545 be considered dissonant?

Is there any relevance to Thor getting his hair cut other than comedic value?

Levi-Civita symbol: 3D matrix

Meaning of word ягоза

Convergence to a fixed point

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

Specific Chinese carabiner QA?

What is better: yes / no radio, or simple checkbox?

Why are special aircraft used for the carriers in the United States Navy?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Was it really inappropriate to write a pull request for the company I interviewed with?

Deal the cards to the players

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

The need of reserving one's ability in job interviews

How to mitigate "bandwagon attacking" from players?

How can neutral atoms have exactly zero electric field when there is a difference in the positions of the charges?

Ahoy, Ye Traveler!

GDAL GetGeoTransform Documentation -- Is there an oversight, or what am I misunderstanding?

Find maximum of the output from reduce

Where is the fallacy here?



Docker: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied


Percona MySQL 5.5 fails to startCould not chdir to home directory /opt/scm: Permission deniedSymlink - Permission DeniedSharing unix socket via docker volume - permission deniedDocker: Permission denied on folders added with ADDrm: cannot remove - Permission deniedSFTP permission denied but SSH works fineCannot login on Zabbix docker installationdocker volume permission denied issue for apache running in docker while apache creating files in docrootCIFS chown Permission denied on Docker / Kubernetes













1















I am trying to configure a docker image to run with a mounted volume, for persistence. The image is the official artifactory one. It seems odd to me that it will stop after creating several directories with a "Permission denied".



As I inspect the mounted volume, I can see that several folders were created when the image attempted to go up. And the database config is also ok.



Digging a bit, this guy seems to have permission issues artifactory:artifactory



However, I cannot go any further to the point I am able to explain or correct the problem.



---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied

** Could not create dir /opt/jfrog/artifactory/logs/catalina


Preparing to run Artifactory in Docker
=====================================
2017-03-17 12:51:17 [42 entrypoint-artifactory.sh] Checking open files and processes limits

2017-03-17 12:51:17 [45 entrypoint-artifactory.sh] Current max open files is 65536

2017-03-17 12:51:17 [57 entrypoint-artifactory.sh] Current max open processes is unlimited

2017-03-17 12:51:17 [67 entrypoint-artifactory.sh] Checking if /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [72 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [78 entrypoint-artifactory.sh] Setting up data directories if missing

2017-03-17 12:51:18 [88 entrypoint-artifactory.sh] Create artifactory user if missing

2017-03-17 12:51:18 [94 entrypoint-artifactory.sh] User artifactory already exists

2017-03-17 12:51:18 [101 entrypoint-artifactory.sh] Checking permissions on /opt/jfrog/artifactory

2017-03-17 12:51:18 [110 entrypoint-artifactory.sh] /opt/jfrog/artifactory is already owned by artifactory:artifactory.

2017-03-17 12:51:18 [114 entrypoint-artifactory.sh] Checking permissions on /var/opt/jfrog/artifactory

2017-03-17 12:51:18 [120 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is owned by root:root. Setting to artifactory:artifactory.

2017-03-17 12:51:18 [246 entrypoint-artifactory.sh] Checking DB_TYPE

2017-03-17 12:51:18 [249 entrypoint-artifactory.sh] DB_TYPE is set to mysql

2017-03-17 12:51:18 [177 entrypoint-artifactory.sh] DB_HOST is set to x.y.s.w

2017-03-17 12:51:18 [179 entrypoint-artifactory.sh] Checking if need to copy mysql configuration

2017-03-17 12:51:18 [182 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to mysql...

2017-03-17 12:51:18 [185 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already set to mysql

2017-03-17 12:51:18 [154 entrypoint-artifactory.sh] Waiting for DB mysql to be ready on 104.196.117.4/3306 within 30 seconds

2017-03-17 12:51:18 [159 entrypoint-artifactory.sh] DB mysql up in 0 seconds
---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied









share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

    – alexus
    Mar 17 '17 at 14:23











  • a) there is bintray.com/jfrog b) what else could I provide to help?

    – Victor
    Mar 17 '17 at 14:53











  • Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

    – Victor
    Mar 17 '17 at 15:29











  • digging more: stackoverflow.com/questions/39020318/…

    – Victor
    Mar 17 '17 at 15:32











  • I have the same issue, did you fix it ?

    – Dimitri Kopriwa
    Apr 15 '17 at 19:47


















1















I am trying to configure a docker image to run with a mounted volume, for persistence. The image is the official artifactory one. It seems odd to me that it will stop after creating several directories with a "Permission denied".



As I inspect the mounted volume, I can see that several folders were created when the image attempted to go up. And the database config is also ok.



Digging a bit, this guy seems to have permission issues artifactory:artifactory



However, I cannot go any further to the point I am able to explain or correct the problem.



---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied

** Could not create dir /opt/jfrog/artifactory/logs/catalina


Preparing to run Artifactory in Docker
=====================================
2017-03-17 12:51:17 [42 entrypoint-artifactory.sh] Checking open files and processes limits

2017-03-17 12:51:17 [45 entrypoint-artifactory.sh] Current max open files is 65536

2017-03-17 12:51:17 [57 entrypoint-artifactory.sh] Current max open processes is unlimited

2017-03-17 12:51:17 [67 entrypoint-artifactory.sh] Checking if /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [72 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [78 entrypoint-artifactory.sh] Setting up data directories if missing

2017-03-17 12:51:18 [88 entrypoint-artifactory.sh] Create artifactory user if missing

2017-03-17 12:51:18 [94 entrypoint-artifactory.sh] User artifactory already exists

2017-03-17 12:51:18 [101 entrypoint-artifactory.sh] Checking permissions on /opt/jfrog/artifactory

2017-03-17 12:51:18 [110 entrypoint-artifactory.sh] /opt/jfrog/artifactory is already owned by artifactory:artifactory.

2017-03-17 12:51:18 [114 entrypoint-artifactory.sh] Checking permissions on /var/opt/jfrog/artifactory

2017-03-17 12:51:18 [120 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is owned by root:root. Setting to artifactory:artifactory.

2017-03-17 12:51:18 [246 entrypoint-artifactory.sh] Checking DB_TYPE

2017-03-17 12:51:18 [249 entrypoint-artifactory.sh] DB_TYPE is set to mysql

2017-03-17 12:51:18 [177 entrypoint-artifactory.sh] DB_HOST is set to x.y.s.w

2017-03-17 12:51:18 [179 entrypoint-artifactory.sh] Checking if need to copy mysql configuration

2017-03-17 12:51:18 [182 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to mysql...

2017-03-17 12:51:18 [185 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already set to mysql

2017-03-17 12:51:18 [154 entrypoint-artifactory.sh] Waiting for DB mysql to be ready on 104.196.117.4/3306 within 30 seconds

2017-03-17 12:51:18 [159 entrypoint-artifactory.sh] DB mysql up in 0 seconds
---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied









share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

    – alexus
    Mar 17 '17 at 14:23











  • a) there is bintray.com/jfrog b) what else could I provide to help?

    – Victor
    Mar 17 '17 at 14:53











  • Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

    – Victor
    Mar 17 '17 at 15:29











  • digging more: stackoverflow.com/questions/39020318/…

    – Victor
    Mar 17 '17 at 15:32











  • I have the same issue, did you fix it ?

    – Dimitri Kopriwa
    Apr 15 '17 at 19:47
















1












1








1








I am trying to configure a docker image to run with a mounted volume, for persistence. The image is the official artifactory one. It seems odd to me that it will stop after creating several directories with a "Permission denied".



As I inspect the mounted volume, I can see that several folders were created when the image attempted to go up. And the database config is also ok.



Digging a bit, this guy seems to have permission issues artifactory:artifactory



However, I cannot go any further to the point I am able to explain or correct the problem.



---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied

** Could not create dir /opt/jfrog/artifactory/logs/catalina


Preparing to run Artifactory in Docker
=====================================
2017-03-17 12:51:17 [42 entrypoint-artifactory.sh] Checking open files and processes limits

2017-03-17 12:51:17 [45 entrypoint-artifactory.sh] Current max open files is 65536

2017-03-17 12:51:17 [57 entrypoint-artifactory.sh] Current max open processes is unlimited

2017-03-17 12:51:17 [67 entrypoint-artifactory.sh] Checking if /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [72 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [78 entrypoint-artifactory.sh] Setting up data directories if missing

2017-03-17 12:51:18 [88 entrypoint-artifactory.sh] Create artifactory user if missing

2017-03-17 12:51:18 [94 entrypoint-artifactory.sh] User artifactory already exists

2017-03-17 12:51:18 [101 entrypoint-artifactory.sh] Checking permissions on /opt/jfrog/artifactory

2017-03-17 12:51:18 [110 entrypoint-artifactory.sh] /opt/jfrog/artifactory is already owned by artifactory:artifactory.

2017-03-17 12:51:18 [114 entrypoint-artifactory.sh] Checking permissions on /var/opt/jfrog/artifactory

2017-03-17 12:51:18 [120 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is owned by root:root. Setting to artifactory:artifactory.

2017-03-17 12:51:18 [246 entrypoint-artifactory.sh] Checking DB_TYPE

2017-03-17 12:51:18 [249 entrypoint-artifactory.sh] DB_TYPE is set to mysql

2017-03-17 12:51:18 [177 entrypoint-artifactory.sh] DB_HOST is set to x.y.s.w

2017-03-17 12:51:18 [179 entrypoint-artifactory.sh] Checking if need to copy mysql configuration

2017-03-17 12:51:18 [182 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to mysql...

2017-03-17 12:51:18 [185 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already set to mysql

2017-03-17 12:51:18 [154 entrypoint-artifactory.sh] Waiting for DB mysql to be ready on 104.196.117.4/3306 within 30 seconds

2017-03-17 12:51:18 [159 entrypoint-artifactory.sh] DB mysql up in 0 seconds
---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied









share|improve this question
















I am trying to configure a docker image to run with a mounted volume, for persistence. The image is the official artifactory one. It seems odd to me that it will stop after creating several directories with a "Permission denied".



As I inspect the mounted volume, I can see that several folders were created when the image attempted to go up. And the database config is also ok.



Digging a bit, this guy seems to have permission issues artifactory:artifactory



However, I cannot go any further to the point I am able to explain or correct the problem.



---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied

** Could not create dir /opt/jfrog/artifactory/logs/catalina


Preparing to run Artifactory in Docker
=====================================
2017-03-17 12:51:17 [42 entrypoint-artifactory.sh] Checking open files and processes limits

2017-03-17 12:51:17 [45 entrypoint-artifactory.sh] Current max open files is 65536

2017-03-17 12:51:17 [57 entrypoint-artifactory.sh] Current max open processes is unlimited

2017-03-17 12:51:17 [67 entrypoint-artifactory.sh] Checking if /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [72 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is mounted

2017-03-17 12:51:18 [78 entrypoint-artifactory.sh] Setting up data directories if missing

2017-03-17 12:51:18 [88 entrypoint-artifactory.sh] Create artifactory user if missing

2017-03-17 12:51:18 [94 entrypoint-artifactory.sh] User artifactory already exists

2017-03-17 12:51:18 [101 entrypoint-artifactory.sh] Checking permissions on /opt/jfrog/artifactory

2017-03-17 12:51:18 [110 entrypoint-artifactory.sh] /opt/jfrog/artifactory is already owned by artifactory:artifactory.

2017-03-17 12:51:18 [114 entrypoint-artifactory.sh] Checking permissions on /var/opt/jfrog/artifactory

2017-03-17 12:51:18 [120 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is owned by root:root. Setting to artifactory:artifactory.

2017-03-17 12:51:18 [246 entrypoint-artifactory.sh] Checking DB_TYPE

2017-03-17 12:51:18 [249 entrypoint-artifactory.sh] DB_TYPE is set to mysql

2017-03-17 12:51:18 [177 entrypoint-artifactory.sh] DB_HOST is set to x.y.s.w

2017-03-17 12:51:18 [179 entrypoint-artifactory.sh] Checking if need to copy mysql configuration

2017-03-17 12:51:18 [182 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to mysql...

2017-03-17 12:51:18 [185 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already set to mysql

2017-03-17 12:51:18 [154 entrypoint-artifactory.sh] Waiting for DB mysql to be ready on 104.196.117.4/3306 within 30 seconds

2017-03-17 12:51:18 [159 entrypoint-artifactory.sh] DB mysql up in 0 seconds
---
Found java executable in JAVA_HOME (/usr/lib/jvm/java-8-openjdk-amd64)
mkdir: cannot create directory ‘/opt/jfrog/artifactory/logs’: Permission denied






permissions docker






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 17 '17 at 14:13









HBruijn

55.2k1087149




55.2k1087149










asked Mar 17 '17 at 13:55









VictorVictor

1167




1167





bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

    – alexus
    Mar 17 '17 at 14:23











  • a) there is bintray.com/jfrog b) what else could I provide to help?

    – Victor
    Mar 17 '17 at 14:53











  • Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

    – Victor
    Mar 17 '17 at 15:29











  • digging more: stackoverflow.com/questions/39020318/…

    – Victor
    Mar 17 '17 at 15:32











  • I have the same issue, did you fix it ?

    – Dimitri Kopriwa
    Apr 15 '17 at 19:47





















  • a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

    – alexus
    Mar 17 '17 at 14:23











  • a) there is bintray.com/jfrog b) what else could I provide to help?

    – Victor
    Mar 17 '17 at 14:53











  • Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

    – Victor
    Mar 17 '17 at 15:29











  • digging more: stackoverflow.com/questions/39020318/…

    – Victor
    Mar 17 '17 at 15:32











  • I have the same issue, did you fix it ?

    – Dimitri Kopriwa
    Apr 15 '17 at 19:47



















a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

– alexus
Mar 17 '17 at 14:23





a) there is no "official" image for artifactory, b) you didn't provide us anything to help you!

– alexus
Mar 17 '17 at 14:23













a) there is bintray.com/jfrog b) what else could I provide to help?

– Victor
Mar 17 '17 at 14:53





a) there is bintray.com/jfrog b) what else could I provide to help?

– Victor
Mar 17 '17 at 14:53













Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

– Victor
Mar 17 '17 at 15:29





Seems I am not alone here: sonatype.org/nexus/2016/04/12/…

– Victor
Mar 17 '17 at 15:29













digging more: stackoverflow.com/questions/39020318/…

– Victor
Mar 17 '17 at 15:32





digging more: stackoverflow.com/questions/39020318/…

– Victor
Mar 17 '17 at 15:32













I have the same issue, did you fix it ?

– Dimitri Kopriwa
Apr 15 '17 at 19:47







I have the same issue, did you fix it ?

– Dimitri Kopriwa
Apr 15 '17 at 19:47












2 Answers
2






active

oldest

votes


















0














I had the same issue when sharing an nfs mount point as a volume. This resolved it:



docker-compose up --force-recreate


Hope that fixes your issue!






share|improve this answer































    -1














    I had the same issue and I have figure out the way by which your container will run without any problem.



    Just dail#
    sudo chmod -R 777 /data



    because /data is volume mount for each container and artifactory container was failing due to permission denied



    containers name
    1. docker.bintray.io/jfrog/nginx-artifactory-pro
    2. docker.bintray.io/jfrog/artifactory-pro
    3. docker.bintray.io/postgres



    after changes wait for 2-3 min






    share|improve this answer



















    • 1





      A recursive chmod to 777 is usually a bad idea.

      – RalfFriedl
      Feb 4 at 21:08











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f838926%2fdocker-cannot-create-directory-opt-jfrog-artifactory-logs-permission-denied%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I had the same issue when sharing an nfs mount point as a volume. This resolved it:



    docker-compose up --force-recreate


    Hope that fixes your issue!






    share|improve this answer




























      0














      I had the same issue when sharing an nfs mount point as a volume. This resolved it:



      docker-compose up --force-recreate


      Hope that fixes your issue!






      share|improve this answer


























        0












        0








        0







        I had the same issue when sharing an nfs mount point as a volume. This resolved it:



        docker-compose up --force-recreate


        Hope that fixes your issue!






        share|improve this answer













        I had the same issue when sharing an nfs mount point as a volume. This resolved it:



        docker-compose up --force-recreate


        Hope that fixes your issue!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 16 '17 at 0:22









        d gd g

        101




        101

























            -1














            I had the same issue and I have figure out the way by which your container will run without any problem.



            Just dail#
            sudo chmod -R 777 /data



            because /data is volume mount for each container and artifactory container was failing due to permission denied



            containers name
            1. docker.bintray.io/jfrog/nginx-artifactory-pro
            2. docker.bintray.io/jfrog/artifactory-pro
            3. docker.bintray.io/postgres



            after changes wait for 2-3 min






            share|improve this answer



















            • 1





              A recursive chmod to 777 is usually a bad idea.

              – RalfFriedl
              Feb 4 at 21:08
















            -1














            I had the same issue and I have figure out the way by which your container will run without any problem.



            Just dail#
            sudo chmod -R 777 /data



            because /data is volume mount for each container and artifactory container was failing due to permission denied



            containers name
            1. docker.bintray.io/jfrog/nginx-artifactory-pro
            2. docker.bintray.io/jfrog/artifactory-pro
            3. docker.bintray.io/postgres



            after changes wait for 2-3 min






            share|improve this answer



















            • 1





              A recursive chmod to 777 is usually a bad idea.

              – RalfFriedl
              Feb 4 at 21:08














            -1












            -1








            -1







            I had the same issue and I have figure out the way by which your container will run without any problem.



            Just dail#
            sudo chmod -R 777 /data



            because /data is volume mount for each container and artifactory container was failing due to permission denied



            containers name
            1. docker.bintray.io/jfrog/nginx-artifactory-pro
            2. docker.bintray.io/jfrog/artifactory-pro
            3. docker.bintray.io/postgres



            after changes wait for 2-3 min






            share|improve this answer













            I had the same issue and I have figure out the way by which your container will run without any problem.



            Just dail#
            sudo chmod -R 777 /data



            because /data is volume mount for each container and artifactory container was failing due to permission denied



            containers name
            1. docker.bintray.io/jfrog/nginx-artifactory-pro
            2. docker.bintray.io/jfrog/artifactory-pro
            3. docker.bintray.io/postgres



            after changes wait for 2-3 min







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 4 at 12:55









            Lalit Vikram SinghLalit Vikram Singh

            1




            1








            • 1





              A recursive chmod to 777 is usually a bad idea.

              – RalfFriedl
              Feb 4 at 21:08














            • 1





              A recursive chmod to 777 is usually a bad idea.

              – RalfFriedl
              Feb 4 at 21:08








            1




            1





            A recursive chmod to 777 is usually a bad idea.

            – RalfFriedl
            Feb 4 at 21:08





            A recursive chmod to 777 is usually a bad idea.

            – RalfFriedl
            Feb 4 at 21:08


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f838926%2fdocker-cannot-create-directory-opt-jfrog-artifactory-logs-permission-denied%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Маріан Котлеба Зміст Життєпис | Політичні погляди |...