You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GMT can then build the *Dockerfile* for you. Just supply the `build` command in your [usage_scenario.yml →]({{< relref "/docs/measuring/usage-scenario" >}}.
73
+
74
+
## Container already running on system
75
+
76
+
A typical error message for this is:
77
+
78
+
- **Container 'test-container' is already running on system. Please close it before running the tool.**
79
+
80
+
This indicates an unclean shutdown of the GMT.
81
+
82
+
Please close all containers you have running, restart GMT DB and Dashboard containers, and close all metric providers
83
+
with `tools/kill_gmt.sh`.
84
+
85
+
See also *1.* on [Helper Tools →]({{< relref "helper-tools" >}}) for more info on this.
86
+
29
87
## ERR_NAME_NOT_RESOLVED / DNS_PROBE_POSSIBLE
30
88
31
89
- Hostname of container correct? `docker ps` tells you the container name, which is also the hostname
Copy file name to clipboardExpand all lines: content/en/docs/measuring/containerizing-applications.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ When containerizing apps for the Green Metrics Tool,
18
18
the containers *must not* shut down after starting them.
19
19
20
20
So you either must have a daemon / process running inside the container
21
-
that keeps the container running or use the `command` option in the [usage_scenario.yml →]({{< relref "usage-scenario" >}})
22
-
file to start a shell that keeps the container running.
21
+
that keeps the container running or use the `command` or `entrypoint` option in the [usage_scenario.yml →]({{< relref "usage-scenario" >}})
22
+
file to start a process that will keep the container running.
23
+
See [Troubleshooting - Keeping containers running for GMT to measure →]({{< relref "troubleshooting" >}}) for an example.
23
24
24
-
This is because our tool sends the commands to the containers after they have
25
-
all been orchestrated and does not support one-off container starts with parameters.
25
+
This is because our tool sends the commands to the containers after they have all been orchestrated and must precisely time the moment when the container starts running a workload.
0 commit comments