<p>I am now using skywalking as my apm, and now I  am configuring the address of my skywalking agent like this:</p>

<pre><code>"initContainers": [
                {
                    "name": "init-agent",
                    "image": "apache/skywalking-agent:7.0.0",
                    "command": [
                        "sh",
                        "-c",
                        "set -ex;mkdir -p /skywalking/agent;cp -r /opt/skywalking/agent/* /skywalking/agent;"
                    ],
                    "resources": {},
                    "volumeMounts": [
                        {
                            "name": "agent",
                            "mountPath": "/skywalking/agent"
                        }
                    ],
                    "terminationMessagePath": "/dev/termination-log",
                    "terminationMessagePolicy": "File",
                    "imagePullPolicy": "IfNotPresent"
                }
            ],
</code></pre>

<p>but it tells me this address is not correct. Is skywalking agent having docker image? What is the docker image address to use in kubernetes v1.16.0 cluster? I am searching from internet and only find a skywalking <a href="https://hub.docker.com/r/apache/skywalking-base/tags" rel="nofollow noreferrer">base image</a>.</p>

Dolphin
<p>We (Apache SkyWalking Team) have officially provided the Java agent Docker image here <a href="https://github.com/apache/skywalking-docker/tree/master/java-agent#use-this-image-as-sidecar-of-kubernetes-service" rel="nofollow noreferrer">https://github.com/apache/skywalking-docker/tree/master/java-agent#use-this-image-as-sidecar-of-kubernetes-service</a>, its usage can be also found there.</p>
<p>As for this specific question, you can always pass environment variable to override the default configuration, for the OAP backend address, its env var is <code>SW_AGENT_COLLECTOR_BACKEND_SERVICES</code> so you can simply pass <code>SW_AGENT_COLLECTOR_BACKEND_SERVICES=your-oap-address:11800</code> to point the agent to your real OAP address.</p>
<pre><code>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:8.4.0-alpine
      volumeMounts:
        - name: skywalking-agent
          mountPath: /agent
      command: [ &quot;/bin/sh&quot; ]
      args: [ &quot;-c&quot;, &quot;cp -R /skywalking/agent /agent/&quot; ]

    - name: app-container
      image: springio/gs-spring-boot-docker
      volumeMounts:
        - name: skywalking-agent
          mountPath: /skywalking
      env:
        - name: JAVA_TOOL_OPTIONS
          value: &quot;-javaagent:/skywalking/agent/skywalking-agent.jar&quot;
        - name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
          value: &quot;your-oap-address-accessible-inside-docker&quot; # &lt;&lt;=== THIS
</code></pre>
