Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-8535

Artifactory docker container badly shutdown and can't restart again

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 4.2.0, 4.2.1
    • Fix Version/s: 4.1.0
    • Component/s: Docker
    • Labels:
      None
    • Environment:

      Description

      I've try to run a docker image of artifactory (4.2.0 and 4.0.2 but i think this is the case for all versions), at the first time all work correctly, The command line used is the following:
      docker run -d --name artifactory \
      -p 9090:8081 \
      -v /var/lib/docker/data/artifactory/logs:/var/opt/jfrog/artifactory/logs \
      -v /var/lib/docker/data/artifactory/data:/var/opt/jfrog/artifactory/data \
      -v /var/lib/docker/data/artifactory/backup:/var/opt/jfrog/artifactory/backup \
      jfrog-docker-registry.bintray.io/jfrog/artifactory-oss

      A few time later i do the following commands line:
      docker stop artifactory
      docker start artifactory

      But if this is failing to start within 60 seconds and container exit. In catalina.out log i see:
      ###########################################################

          1. Artifactory successfully started (4.977 seconds) ###
            ###########################################################

      I've make some investigation -> the shutdown port of Tomcat (8015) does not listen within 60 sec and this is causing container to close.

      After more investigation after the first stop of the container we see in logs many Warning and Severe log information.

      Additionnals informations:

      I've to try this docker image on other server, it's work perfectly on DSM 5.2-5644 (Synology NAS DS415+) (i've try Brutal shutdown, classic stop start and it's working)

      OS version:
      Linux vpsxxxxxx.ovh.net 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      Docker version:
      Client version: 1.7.1
      Client API version: 1.19
      Go version (client): go1.4.2
      Git commit (client): 786b29d
      OS/Arch (client): linux/amd64
      Server version: 1.7.1
      Server API version: 1.19
      Go version (server): go1.4.2
      Git commit (server): 786b29d
      OS/Arch (server): linux/amd64

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chaya Chaya
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: