假设我想检查图像中的层数,图像在达到最终形式之前被修改了多少次,我该怎么做?
slm
Asked:
2018-12-01 08:44:42 +0800 CST
我最近试图检查这个容器是如何工作的,所以我想做我通常对正在运行的容器做的事情,主要是:
$ docker exec -it <container SHA> /bin/bash
但是在这种情况下,我不能,也不想完全设置和运行这个特定的容器。我只想进入它的文件系统,这样我就可以四处看看它是如何构造的。
这是失败的运行:
$ docker run prismagraphql/prisma:1.21 --name blah
Exception in thread "main" java.lang.RuntimeException: Unable to load Prisma config: java.lang.RuntimeException: No valid Prisma config could be loaded.
at scala.sys.package$.error(package.scala:27)
at com.prisma.config.ConfigLoader$.load(ConfigLoader.scala:40)
at com.prisma.local.PrismaLocalDependencies.<init>(PrismaLocalDependencies.scala:36)
at com.prisma.local.PrismaLocalMain$.delayedEndpoint$com$prisma$local$PrismaLocalMain$1(PrismaLocalMain.scala:14)
at com.prisma.local.PrismaLocalMain$delayedInit$body.apply(PrismaLocalMain.scala:11)
at scala.Function0.apply$mcV$sp(Function0.scala:34)
at scala.Function0.apply$mcV$sp$(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App.$anonfun$main$1$adapted(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:389)
at scala.App.main(App.scala:76)
at scala.App.main$(App.scala:74)
at com.prisma.local.PrismaLocalMain$.main(PrismaLocalMain.scala:11)
at com.prisma.local.PrismaLocalMain.main(PrismaLocalMain.scala)
我怎样才能做到这一点?