mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
feat(start): give each instance its own Docker resource namespace and base URL (#31)
This commit is contained in:
1 parent
788eb470fb
commit
bf9ee4037b
14 files changed
+310
-8
No files matched your search
@@ -45,6 +45,11 @@ public class RestartCommand implements Callable<Integer> {
|
||||
// container stopped, and the values must not be re-read from a file that could change
|
||||
// during the stop plus the one second wait below.
|
||||
StartCommand start = buildStartCommand();
|
||||
String invalid = start.validationError();
|
||||
if (invalid != null) {
|
||||
printer.error(invalid);
|
||||
return 2;
|
||||
}
|
||||
|
||||
StopCommand stop = new StopCommand(profile);
|
||||
stop.global = global;
|
||||
|
||||
Reference in new issue
Block a user