Difference between revisions of "Printenv"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
[[kubectl exec]] -n your_namespace [[your-pod-name]] -- printenv | [[kubectl exec]] -n your_namespace [[your-pod-name]] -- printenv | ||
− | + | [[docker exec]] [[CONTAINER_NAME]] [[env]] | |
+ | docker exec CONTAINER_NAME [[printenv]] | ||
== See also == | == See also == |
Latest revision as of 12:15, 14 March 2023
printenv
print all or part of environment.
-- printenv
kubectl exec your-pod-name -- printenv kubectl exec -n your_namespace your-pod-name -- printenv
docker exec CONTAINER_NAME env docker exec CONTAINER_NAME printenv
See also[edit]
Advertising: