{"action":"created","issue":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/1070","labels_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/1070/labels{/name}","comments_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/1070/comments","events_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/1070/events","html_url":"https://github.com/boot2docker/boot2docker/issues/1070","id":109917045,"number":1070,"title":"How install packages in boot2docker","user":{"login":"pyotr777","id":485462,"avatar_url":"https://avatars.githubusercontent.com/u/485462?v=3","gravatar_id":"","url":"https://api.github.com/users/pyotr777","html_url":"https://github.com/pyotr777","followers_url":"https://api.github.com/users/pyotr777/followers","following_url":"https://api.github.com/users/pyotr777/following{/other_user}","gists_url":"https://api.github.com/users/pyotr777/gists{/gist_id}","starred_url":"https://api.github.com/users/pyotr777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyotr777/subscriptions","organizations_url":"https://api.github.com/users/pyotr777/orgs","repos_url":"https://api.github.com/users/pyotr777/repos","events_url":"https://api.github.com/users/pyotr777/events{/privacy}","received_events_url":"https://api.github.com/users/pyotr777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T01:12:24Z","updated_at":"2015-11-14T01:19:14Z","closed_at":null,"body":"I need to install bash, shadow-untils and some other packages in boot2docker.\r\nI could install bash with\r\n```\r\ntce-load -wi bash\r\n```\r\n\r\nBut when I try the same command with shadow-utils :\r\n```\r\ndocker@default:~/dockerIaaSTools$ tce-load -wi shadow-utils\r\nDownloading: shadow-utils.tcz\r\nConnecting to distro.ibiblio.org (152.19.134.43:80)\r\nwget: server returned error: HTTP/1.1 404 Not Found\r\nmd5sum: shadow-utils.tcz.md5.txt: No such file or directory\r\nError on shadow-utils.tcz\r\n```\r\n\r\nI also tried to download it from http://ftp.nluug.nl/os/Linux/distr/tinycorelinux/tcz/ and install with -i :\r\n```\r\ndocker@default:~$ tce-load -i shadow-utils\r\nmount: mounting /dev/loop6 on /tmp/tcloop/shadow-utils failed: Invalid argument\r\n```\r\n\r\nI need shadow-utils because I need commands `useradd`, `userdel`, `usermod`,  `groupadd`, `groupdel`, and `groupmod`.\r\n\r\nMy specs:\r\nBoot2Docker version 1.8.2, build master : aba6192 - Thu Sep 10 20:58:17 UTC 2015\r\nDocker version 1.8.2, build 0a8c2e3"},"comment":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/comments/156603481","html_url":"https://github.com/boot2docker/boot2docker/issues/1070#issuecomment-156603481","issue_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/1070","id":156603481,"user":{"login":"boxofrox","id":636691,"avatar_url":"https://avatars.githubusercontent.com/u/636691?v=3","gravatar_id":"","url":"https://api.github.com/users/boxofrox","html_url":"https://github.com/boxofrox","followers_url":"https://api.github.com/users/boxofrox/followers","following_url":"https://api.github.com/users/boxofrox/following{/other_user}","gists_url":"https://api.github.com/users/boxofrox/gists{/gist_id}","starred_url":"https://api.github.com/users/boxofrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxofrox/subscriptions","organizations_url":"https://api.github.com/users/boxofrox/orgs","repos_url":"https://api.github.com/users/boxofrox/repos","events_url":"https://api.github.com/users/boxofrox/events{/privacy}","received_events_url":"https://api.github.com/users/boxofrox/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T01:19:14Z","updated_at":"2015-11-14T01:19:14Z","body":"@pyotr777 \r\n\r\nAlso, keep in mind that TinyCoreLinux (TCL) is intended to be a readonly distro, and provides options for persisting configuration files.  Which is to say, even if you installed shadow-utils, your changes would be lost on the next reboot.  Chapter 1.10 and 24.1 of the Core Book [1] discusses how to backup and restore files and add a new user.\r\n\r\n[1] http://tinycorelinux.net/book.html\r\n\r\nOut of the box boot2docker disables the restore system.  We can write Dockerfiles that build custom boot2docker isos.  If you're interested in trying it out, let me know."}}