0

IU have the following fig.yml:

doc1: build: Dockerfile1 doc2: build: Dockerfile2

Dockerfile2 is build FROM Dockerfile1.

So when I fig up I want to

  • Build Dockerfile1 only (not run it)
  • Build and Run Dockerfile2

Is this possible?

4

1 回答 1

0
fig build doc1 doc2
fig run doc2

build应该是目录的路径,而不是 Dockerfile 的路径

于 2015-02-26T01:53:05.190 回答