{"id":13567527,"url":"https://github.com/meefik/linuxdeploy-cli","last_synced_at":"2025-04-06T22:06:59.159Z","repository":{"id":2618895,"uuid":"103143426","full_name":"meefik/linuxdeploy-cli","owner":"meefik","description":"Linux Deploy CLI","archived":false,"fork":false,"pushed_at":"2022-06-16T23:09:13.000Z","size":435,"stargazers_count":253,"open_issues_count":10,"forks_count":92,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-30T19:09:03.972Z","etag":null,"topics":["chroot","cli","containers","deployment","embedded","linux","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meefik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-11T14:04:22.000Z","updated_at":"2025-03-23T12:13:44.000Z","dependencies_parsed_at":"2022-08-06T12:30:47.035Z","dependency_job_id":null,"html_url":"https://github.com/meefik/linuxdeploy-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meefik%2Flinuxdeploy-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meefik%2Flinuxdeploy-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meefik%2Flinuxdeploy-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meefik%2Flinuxdeploy-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meefik","download_url":"https://codeload.github.com/meefik/linuxdeploy-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chroot","cli","containers","deployment","embedded","linux","shell"],"created_at":"2024-08-01T13:02:33.742Z","updated_at":"2025-04-06T22:06:59.140Z","avatar_url":"https://github.com/meefik.png","language":"Shell","readme":"# Linux Deploy CLI\n\nCopyright (C) 2015-2019 Anton Skshidlevsky, GPLv3\n\nA command line application for installing and running GNU/Linux distributions in the chroot environment.\n\n### Dependencies\n\n- [Linux](http://kernel.org)\n- [BusyBox](https://github.com/meefik/busybox) or Bash and GNU utils\n- [QEMU](http://qemu.org), [qemu-user-static](https://packages.debian.org/stable/qemu-user-static) for architecture emulation\n- [binfmt_misc](https://en.wikipedia.org/wiki/Binfmt_misc) module for architecture emulation without PRoot\n- [PRoot](https://github.com/meefik/PRoot) for work without superuser permissions\n\n### Usage\n\nMain help:\n\n```\nUSAGE:\n   cli.sh [OPTIONS] COMMAND ...\n\nOPTIONS:\n   -p NAME - configuration profile\n   -d - enable debug mode\n   -t - enable trace mode\n\nCOMMANDS:\n   config [...] [PARAMETERS] [NAME ...] - configuration management\n      - without parameters displays a list of configurations\n      -r - remove the current configuration\n      -i FILE - import the configuration\n      -x - dump of the current configuration\n      -l - list of dependencies for the specified or are connected components\n      -a - list of all components without check compatibility\n   deploy [...] [PARAMETERS] [-n NAME] [NAME ...] - install the distribution and included components\n      -m - mount the container before deployment\n      -i - install without configure\n      -c - configure without install\n      -n NAME - skip installation of this component\n   import FILE|URL - import a rootfs into the current container from archive (tgz, tbz2 or txz)\n   export FILE - export the current container as a rootfs archive (tgz, tbz2 or txz)\n   shell [-u USER] [COMMAND] - execute the specified command in the container, by default /bin/bash\n      -u USER - switch to the specified user\n   mount - mount the container\n   umount - unmount the container\n   start [-m] [NAME ...] - start all included or only specified components\n      -m - mount the container before start\n   stop [-u] [NAME ...] - stop all included or only specified components\n      -u - unmount the container after stop\n   status [NAME ...] - display the status of the container and components\n   help [NAME ...] - show this help or help of components\n\n```\n\nHelp for the parameters of the main components:\n\n```\n   --distrib=\"debian\"\n     The code name of Linux distribution, which will be installed. Supported \"debian\", \"ubuntu\", \"kali\", \"fedora\", \"centos\", \"archlinux\", \"slackware\", \"apline\".\n\n   --target-type=\"file\"\n     The container deployment type, can specify \"file\", \"directory\", \"partition\", \"ram\" or \"custom\".\n\n   --target-path=\"/path/to/debian_x86.img\"\n     Installation path depends on the type of deployment.\n\n   --disk-size=\"2000\"\n     Image file size when selected type of deployment \"file\". Zero means the automatic selection of the image size.\n\n   --fs-type=\"ext4\"\n     File system that will be created inside a image file or on a partition. Supported \"ext2\", \"ext3\" or \"ext4\"\n\n   --arch=\"i386\"\n     Architecture of Linux distribution, supported \"armel\", \"armhf\", \"arm64\", \"i386\" and \"amd64\".\n\n   --suite=\"stretch\"\n     Version of Linux distribution, supported versions \"jessie\", \"stretch\" and \"buster\" (also can be used \"stable\", \"testing\", \"unstable\" or \"oldstable\").\n\n   --source-path=\"http://ftp.debian.org/debian/\"\n     Installation source, can specify address of the repository or path to the rootfs archive.\n\n   --extra-packages=\"\"\n     List of optional installation packages, separated by spaces.\n\n   --method=\"chroot\"\n     Containerization method \"chroot\" or \"proot\".\n\n   --chroot-dir=\"/mnt\"\n     Mount directory of the container for containerization method \"chroot\".\n\n   --emulator=\"qemu-i386-static\"\n     Specify which to use the emulator, by default QEMU.\n\n   --mounts=\"/path/to/source:/path/to/target\"\n     Mounts resources to the container as \"SOURCE:TARGET\" separated by a space.\n\n   --dns=\"auto\"\n     IP-address of DNS server, can specify multiple addresses separated by a space.\n\n   --net-trigger=\"\"\n     Path to a script inside the container to process changes the network.\n\n   --locale=\"C\"\n     Localization, e.g. \"en_US.UTF-8\".\n\n   --user-name=\"android\"\n     Username that will be created in the container.\n\n   --user-password=\"changeme\"\n     Password will be assigned to the specified user.\n\n   --privileged-users=\"android:aid_inet android:aid_media_rw\"\n     A list of users in a format UID:GID separated by a space to be added UID to GID.\n\n```\n\n### Links\n\n- Source code: https://github.com/meefik/linuxdeploy-cli\n- Donations: https://meefik.github.io/donate\n","funding_links":[],"categories":["Shell","cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeefik%2Flinuxdeploy-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeefik%2Flinuxdeploy-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeefik%2Flinuxdeploy-cli/lists"}