Need help with other JFrog products?
JFrog Enterprise+
JFrog Mission Control
JFrog Xray
JFrog Distribution
[JFrog Pipelines]
JFrog Bintray
JFrog Access
JFrog CLI
Using the latest JFrog Artifactory version? See the documentation here.
The docker ps
command lists containers in your system.
$ docker ps # Lists running containers $ docker ps -a # Lists all containers
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.
An easy way to see the logged output of a running container is through the docker logs
command
$ docker logs <container name>
This will output all of the container's STDOUT and STDERR to the screen both for running and stopped containers.
You can connect to a running container's file system and open an interactive command prompt in the container with the docker exec
command
$ docker exec -it <container name> /bin/bash
This will open a command prompt in the running Artifactory container, logging you in as root and placing you in the / directory.
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 using docker 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.
Please refer to Troubleshooting HA.