Why Jenkins not stored data?

I try to configure Jenkins at Unubtu 16.04:

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins

Then, i see at logs:

  • docker php:7.1-fpm-alpine fails to build GD
  • How to restore nuget packages from network share in Linux Docker container
  • Docker without any https/SSL validation?
  • Error while deploying Apache Storm to AWS
  • Yesod Persona authentication problems when using Dockerized MongoDB
  • docker-compose up Permission denied on Windows
  • Attempting to dynamic load /var/jenkins_home/plugins/workflow-aggregator.jpi
    Started initialization
    Listed all plugins
    Prepared all plugins
    Started all plugins
    Augmented all extensions
    Loaded all jobs
    Completed initialization
    Plugin workflow-aggregator:2.3 dynamically installed

    But, at /var/jenkins_home i cound not found any file.

    What should i do to solve this?
    Thank you!

  • How to fix insecure-registry error on clients by updating the docker registry server
  • Can I pass arguments into docker-compose the command config option
  • How does docker Images and Layers work?
  • Http On Google Container Engine
  • Docker MySQL: create new user
  • Cassandra in Docker cant connect from outside
  • 2 Solutions collect form web for “Why Jenkins not stored data?”

    You have to ensure that /your/home is accessible by the jenkins user.

    ls -la /your/home

    You can create a jenkins user with uid 1000 and then grant its ownership.

    groupadd -g 1000 jenkins
    useradd -d "/your/home" -u 1000 -g 1000 -m -s /bin/bash jenkins

    Check for files in /your/home.

    The path /var/jenkins_home is only valid inside the container, and maps to /your/home on your host.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.