Open katilp opened 4 years ago
Open another terminal (docker-machine ssh) and run:
docker events
for logs run
docker logs CONTAINER ID
CONTAINER ID from
docker ps -a
A typical output for docker events:
2020-06-05T06:29:45.366568493Z container attach 521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14 (image=cmsopendata/cmssw_5_3_32, maintainer=Clemens Lange <clemens.lange@cern.ch>, name=opendata, org.label-schema.build-date=2019-03-12T13:14:02Z, org.label-schema.description=Provide completely offline-runnable CMSSW images., org.label-schema.name=CMSSW Docker standalone images slc6_amd64_gcc472 CMSSW_5_3_32, org.label-schema.schema-version=1.0, org.label-schema.url=http://cms-sw.github.io/, org.label-schema.vcs-ref=5b3af8a, org.label-schema.vcs-url=git@github.com:clelange/cmssw-docker.git, org.label-schema.vendor=CERN, org.label-schema.version=2019-03-12) 2020-06-05T06:29:45.421679980Z network connect 58a2d9ab30c5a04d9879e9720a08fecae10779eced3d066dc606144f714cce43 (container=521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14, name=bridge, type=bridge) 2020-06-05T06:29:46.073985164Z container start 521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14 (image=cmsopendata/cmssw_5_3_32, maintainer=Clemens Lange <clemens.lange@cern.ch>, name=opendata, org.label-schema.build-date=2019-03-12T13:14:02Z, org.label-schema.description=Provide completely offline-runnable CMSSW images., org.label-schema.name=CMSSW Docker standalone images slc6_amd64_gcc472 CMSSW_5_3_32, org.label-schema.schema-version=1.0, org.label-schema.url=http://cms-sw.github.io/, org.label-schema.vcs-ref=5b3af8a, org.label-schema.vcs-url=git@github.com:clelange/cmssw-docker.git, org.label-schema.vendor=CERN, org.label-schema.version=2019-03-12) 2020-06-05T06:29:46.149349316Z container resize 521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14 (height=40, image=cmsopendata/cmssw_5_3_32, maintainer=Clemens Lange <clemens.lange@cern.ch>, name=opendata, org.label-schema.build-date=2019-03-12T13:14:02Z, org.label-schema.description=Provide completely offline-runnable CMSSW images., org.label-schema.name=CMSSW Docker standalone images slc6_amd64_gcc472 CMSSW_5_3_32, org.label-schema.schema-version=1.0, org.label-schema.url=http://cms-sw.github.io/, org.label-schema.vcs-ref=5b3af8a, org.label-schema.vcs-url=git@github.com:clelange/cmssw-docker.git, org.label-schema.vendor=CERN, org.label-schema.version=2019-03-12, width=182) 2020-06-05T06:31:47.834606816Z container die 521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14 (exitCode=0, image=cmsopendata/cmssw_5_3_32, maintainer=Clemens Lange <clemens.lange@cern.ch>, name=opendata, org.label-schema.build-date=2019-03-12T13:14:02Z, org.label-schema.description=Provide completely offline-runnable CMSSW images., org.label-schema.name=CMSSW Docker standalone images slc6_amd64_gcc472 CMSSW_5_3_32, org.label-schema.schema-version=1.0, org.label-schema.url=http://cms-sw.github.io/, org.label-schema.vcs-ref=5b3af8a, org.label-schema.vcs-url=git@github.com:clelange/cmssw-docker.git, org.label-schema.vendor=CERN, org.label-schema.version=2019-03-12) 2020-06-05T06:31:47.857656255Z network disconnect 58a2d9ab30c5a04d9879e9720a08fecae10779eced3d066dc606144f714cce43 (container=521d89416ee44791b6f38ab72b18fccfdf752b2c6c5e73d5e6dbc6921a695d14, name=bridge, type=bridge)
Open another terminal (docker-machine ssh) and run:
docker events
for logs run
docker logs CONTAINER ID
CONTAINER ID from
docker ps -a
A typical output for docker events: