
manthanhd/artifactoryTo run interactively:
docker run -p 8080:8081 --rm -it manthanhd/artifactory
Artifactory should be available at http://localhost:8080/artifactory
This image exports the following volumes:
/var/opt/jfrog/artifactory/data /var/opt/jfrog/artifactory/backup /var/opt/jfrog/artifactory/logs
In order to have persistence, you might want to map these volumes to their respective folders on your disk.
mkdir shared mkdir shared/data mkdir shared/backup mkdir shared/logs
Then run the following command:
docker run --name artifactory -p 8080:8081 --rm -v `pwd`/shared/data:/var/opt/jfrog/artifactory/data -v `pwd`/shared/backup:/var/opt/jfrog/artifactory/backup -v `pwd`/shared/logs:/var/opt/jfrog/artifactory/logs -it manthanhd/artifactory
Now even if your container dies, it's state will be persisted on the host machine's disk. You can restore the state by simply running the above command again.
In order to clear out the state of your container (you will lose data in doing so), simply wipe out contents of the data, backup and logs directories under the shared folder on your machine.






manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务