Using the latest version?
JFrog Platform User Guide
JFrog Artifactory 6.x Documentation
To get the latest version, go to the JFrog Unified Platform
Container State
Thedocker ps
command lists containers in your system.
$ docker ps # Lists running containers $ docker ps -a # Lists all containers
Logs
Artifactory logs are stored in the Artifactory container under/var/opt/jfrog/artifactory/logs.
If you ran the container with a mounted volume for Artifactory data (/var/opt/jfrog/artifactory/
), you can also access the logs locally on your host.
一个简单的方法来查看记录运行的输出container is through thedocker logs
command
$ docker logs
This will output all of the container's STDOUT and STDERR to the screen both for running and stopped containers.
Connect to a Running Container
You can connect to a running container's file system and open an interactive command prompt in the container with thedocker exec
command
$ docker exec -it/bin/bash
This will open a command prompt in the running Artifactory container, logging you in as root and placing you in the / directory.
Run an Alternate Entrypoint
There are cases where you want to run the container, but not start up Artifactory. To do this, you need to override the configured entrypoint script usingdocker run --entrypoint=bash
$ docker run -it --entrypoint=/bin/bash -v /var/opt/jfrog/artifactory:/var/opt/jfrog/artifactory -p 8081:8018 docker.bintray.io/jfrog/artifactory-pro:latest
This will run the container, presenting you with a prompt in the container, but without executing the/entrypoint-artifactory.sh
file.
You can then make changes to the container configuration execute/entrypoint-artifactory.sh
to start up Artifactory in your container.
Installing Artifactory HA
Please refer toTroubleshooting HA.