Added restart and default name to container - #73
Conversation
| @@ -1,8 +1,10 @@ | |||
| version: "2" | |||
| version: "2.1" | |||
There was a problem hiding this comment.
Why the change to 2.1? I did a quick review of 2.1 docs and couldn't really tell for sure why you made it. This would limit use to some newer Docker clients, hence the question.
|
@jimzucker if you could update your description to describe why you recommend adding these options, that would be good. Otherwise we are left to guess as to why this would help you (and many others). It'll help us in determining if we should bring this change in for all of our users. |
|
@DarthHater I was using the docker container to setup a new client with a POC of nexus and i noticed for a shared env if the server was restarted the nexus disappeared and you would have to get somebody that knows the details to login and restart it. By adding restart option it makes for a much more reliable installation. Regarding the name similarly having a random name makes it hard to document procedures and explain the setup. With these 2 changes now you can quickly setup a very reliable shared instance of nexus in a matter of minutes, that is very clearly documented. I was able to change the version back to "2". |
I recommend adding a default name 'nexus' and setting the restart option.