Date: Tue, 27 Oct 2015 19:12:11 +0300 From: Sergey Zakharchenko <doublef.mobile@gmail.com> To: Mateusz Guzik <mjguzik@gmail.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: Docker: jail: name cannot be numeric fix Message-ID: <CADYCxoPUQ6EpHGpeVwwPnTt6k2NqfhkZDGRkWSCj6LqEQ%2BZuVw@mail.gmail.com> In-Reply-To: <20151027145033.GA24588@dft-labs.eu> References: <CADYCxoOGAyBe=bzxX0OB=q4N6qM7ZcnP1-oKbEGmYjy9pQMVww@mail.gmail.com> <20151027145033.GA24588@dft-labs.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Mateusz, > What's the significance of said names? None that I know of; I'm new to Docker so I might be wrong though. > The issue here is that said id may contain to letters, effectivley > looking like a number ..the probability of that being (10/16)^12, which isn't too high but still significant... > and that cannot be allowed due to jid/name > confusion. True; were it possible, I'd suggest naming them e.g. dkrXXX instead of XXX to make it easier to understand that those are Docker-created jails and not some abomination. In other words, seconded. But I suspect there could be some reasons why that wasn't done this (obviously better) way... > The bogus check with 0 is only a side issue, which may or may not make sense to be addressed. Well, it doesn't do what it's supposed to, so it should be fixed but I agree it's definitely not urgent if Docker can be fixed to name jails more appropriately. Best regards, -- DoubleF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADYCxoPUQ6EpHGpeVwwPnTt6k2NqfhkZDGRkWSCj6LqEQ%2BZuVw>