0

Imagine : 2 developers have an ssh access and can git clone a project with a fig.yml file. they clone the project with the same directory name ... therefore they can't launch the project 2 times to work independently on the source code.

The firt fig up will create the conatiners. OK. but the second will just recreate the same containers (not create another totally separate running instance of the project) ... how can I tackle this pb ?

Thanks !

4

1 回答 1

2

您可以使用该-p, --project-name选项来使用您选择的名称,而不是使用目录名称。

fig up -p my_unique_name

如果两个开发人员选择相同的名称,仍然可能发生冲突,您可能需要建立命名约定来避免这种情况。

于 2015-02-23T19:00:09.477 回答