github.com/coreos/rocket@v1.30.1-0.20200224141603-171c416fac02/Documentation/app-environment.md (about) 1 ## App Environment 2 3 Apps launched by rkt have access to some basic devices and file systems as defined by the App Container spec in the [OS-SPEC][os-spec] section. 4 5 In addition to the basic devices and file systems mandated by the App Container spec, rkt gives access to the following files. 6 7 #### /etc/hosts 8 9 Support for /etc/hosts is optional in the App Container spec. rkt creates it. 10 11 #### /etc/resolv.conf 12 13 `/etc/resolv.conf` is automatically [prepared by rkt][networking-dns]. 14 15 #### /run/systemd/journal 16 17 Since rkt v1.2.0, rkt gives access to systemd-journald's sockets in the /run/systemd/journal directory: 18 - /run/systemd/journal/dev-log 19 - /run/systemd/journal/socket 20 - /run/systemd/journal/stdout 21 22 #### /dev/log 23 24 Since rkt v1.2.0, if /dev/log does not exist in the image, it will be created as a symlink to /run/systemd/journal/dev-log. 25 26 [networking-dns]: networking/dns.md 27 [os-spec]: https://github.com/appc/spec/blob/master/spec/OS-SPEC.md