Repository navigation
Commit d03a5fe
cmd/create: Expose the host's entire / in the container at /run/host
Having the entire host file system hierarchy mounted inside a toolbox
container gives the containers a more complete environment that's
resilient against future changes in the layout of the file system
hierarchy and the need for giving access to new paths to support new
use-cases. Otherwise, one would have to create a new container to get
access to any path that lies outside the /boot, /etc, /run, /tmp, /usr
and /var directories.
As a nice side-effect, this also simplifies the bind mount handling
code.
#8271 parent 94917b7 commit d03a5fe
1 file changed
Lines changed: 1 addition & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 268 | | |
291 | 269 | | |
292 | 270 | | |
| |||
423 | 401 | | |
424 | 402 | | |
425 | 403 | | |
426 | | - | |
| 404 | + | |
427 | 405 | | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | 406 | | |
433 | 407 | | |
434 | 408 | | |
435 | | - | |
436 | 409 | | |
437 | 410 | | |
438 | 411 | | |
| |||
0 commit comments