Editing Docker run
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
* <code>[[docker run --help]]</code> | * <code>[[docker run --help]]</code> | ||
− | |||
− | |||
[[-e]] (Environment variables) | [[-e]] (Environment variables) | ||
[[--env-file]] | [[--env-file]] | ||
Line 24: | Line 22: | ||
* <code>[[docker run alpine]]</code> | * <code>[[docker run alpine]]</code> | ||
* <code>[[docker run ubuntu]]</code> | * <code>[[docker run ubuntu]]</code> | ||
− | |||
* <code>[[docker run -it]] alpine /bin/sh</code> | * <code>[[docker run -it]] alpine /bin/sh</code> | ||
− | * <code>docker run | + | * <code>docker run --name your-container-name your-gitlab-registry.your-domain.com:[[5050]]/your-project/your-repo:your-tag</code> |
* <code>docker run 1231243.dkr.ecr.eu-central-1.amazonaws.com/your-repo:yourimage</code> | * <code>docker run 1231243.dkr.ecr.eu-central-1.amazonaws.com/your-repo:yourimage</code> | ||
Line 45: | Line 42: | ||
* <code>[[docker run -d -it]] --name devtest --mount type=[[bind]],source="$(pwd)"/target,target=/app nginx:latest</code> | * <code>[[docker run -d -it]] --name devtest --mount type=[[bind]],source="$(pwd)"/target,target=/app nginx:latest</code> | ||
− | |||
− | |||
=== [[Logstash]] === | === [[Logstash]] === | ||
Line 80: | Line 75: | ||
== Runtime constraints on resources == | == Runtime constraints on resources == | ||
− | * <code>-m | + | * <code>-m --memory=""</code> |
* <code>--[[oom]]-kill-disable=false</code> Whether to disable OOM Killer for the container or not. | * <code>--[[oom]]-kill-disable=false</code> Whether to disable OOM Killer for the container or not. | ||
* <code>--cpus=0.000</code> | * <code>--cpus=0.000</code> | ||
Line 95: | Line 90: | ||
== Errors == | == Errors == | ||
* <code>WARNING: The requested image's [[platform]] (linux/[[amd64]]) does not match the detected host platform ([[linux/arm64/v8]]) and no specific platform was requested</code> | * <code>WARNING: The requested image's [[platform]] (linux/[[amd64]]) does not match the detected host platform ([[linux/arm64/v8]]) and no specific platform was requested</code> | ||
− | |||
== Activities == | == Activities == | ||
Line 118: | Line 112: | ||
* <code>[[kubectl run]]</code> | * <code>[[kubectl run]]</code> | ||
* [[URI]] | * [[URI]] | ||
− | |||
− | |||
== See also == | == See also == |
Advertising: