The Java agent for Apache SkyWalking
1M+
Docker images are not official ASF releases but provided for convenience. Recommended usage is always to build the source
SkyWalking: an APM(application performance monitor) system, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
You could find docker file at here
This image only hosts the pre-built SkyWalking Java agent jars, and provides some convenient configurations for containerization scenarios.
FROM apache/skywalking-java-agent:9.4.0-jdk8
# ... build your java application
You can start your Java application with CMD or ENTRYPOINT, but you don't need to care about the Java options to
enable SkyWalking agent, it should be adopted automatically.
In Kubernetes scenarios, you can also use this agent image as a sidecar.
apiVersion: v1
kind: Pod
metadata:
name: agent-as-sidecar
spec:
restartPolicy: Never
volumes:
- name: skywalking-agent
emptyDir: { }
containers:
- name: agent-container
image: apache/skywalking-java-agent:9.4.0-alpine
volumeMounts:
- name: skywalking-agent
mountPath: /agent
command: [ "/bin/sh" ]
args: [ "-c", "cp -R /skywalking/agent /agent/" ]
- name: app-container
image: springio/gs-spring-boot-docker
volumeMounts:
- name: skywalking-agent
mountPath: /skywalking
env:
- name: JAVA_TOOL_OPTIONS
value: "-javaagent:/skywalking/agent/skywalking-agent.jar"
Content type
Image
Digest
sha256:82b23af0a…
Size
152.1 MB
Last updated
5 months ago
Requires Docker Desktop 4.37.1 or later.
Pulls:
2,220
Last week