We can also use container IDs instead of their names: docker cp /tmp/config.ini 1477326feb62:/usr/share/grafana/conf/ The first example copies a file from the /tmp directory on the host machine into the Grafana install directory in the grafana container: docker cp /tmp/config.ini grafana:/usr/share/grafana/conf/ CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESġ477326feb62 grafana/grafana "/run.sh" 2 months ago Up 3 days 0.0.0.0:3000->3000/tcp grafanaĨc45029d15e8 prom/prometheus "/bin/prometheus -c…" 2 months ago Up 3 days 0.0.0.0:9090->9090/tcp prometheus
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |