{"id":25556943,"url":"https://github.com/kevin-doolaeghe/crostini","last_synced_at":"2026-01-26T21:12:36.948Z","repository":{"id":181214576,"uuid":"422857427","full_name":"kevin-doolaeghe/crostini","owner":"kevin-doolaeghe","description":"Crostini - Containers and VM support on Chrome OS","archived":false,"fork":false,"pushed_at":"2021-11-06T22:58:21.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T11:38:00.491Z","etag":null,"topics":["crostini","documentation"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevin-doolaeghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-30T11:05:44.000Z","updated_at":"2022-02-08T21:52:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"90b489f8-1e38-423f-a7e1-dcb9f38c7db4","html_url":"https://github.com/kevin-doolaeghe/crostini","commit_stats":null,"previous_names":["kevin-doolaeghe/crostini"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevin-doolaeghe/crostini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fcrostini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fcrostini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fcrostini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fcrostini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevin-doolaeghe","download_url":"https://codeload.github.com/kevin-doolaeghe/crostini/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fcrostini/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28788295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:02:48.137Z","status":"ssl_error","status_checked_at":"2026-01-26T21:01:13.039Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["crostini","documentation"],"created_at":"2025-02-20T14:56:20.686Z","updated_at":"2026-01-26T21:12:36.930Z","avatar_url":"https://github.com/kevin-doolaeghe.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crostini - Containers and VM support on Chrome OS\n\n## Auteur\n\n### Kevin Doolaeghe\n\n## Sources\n\n* [Reddit - Instructions for Kali Linux on Crostini](https://www.reddit.com/r/Crostini/comments/fj8ddg/instructions_for_kali_linux_on_crostini/)\n* [Installer un dual boot de Kali avec Chrome OS](https://chromeready.com/4714/install-kali-linux-chromebook/)\n* [Kali Linux - Tutoriels](https://www.kali-linux.fr/tutoriels)\n* [Chromium - Running Custom Containers Under Chrome OS](https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md)\n* [Crouton - Chrooter un système Linux](https://github.com/dnschneid/crouton)\n* [Crouton - Exemple d'installation d'une distribution Xenial](https://itsfoss.com/install-linux-chromebook/)\n\n## Accès au terminal `crosh`\n\nSur Google Chrome, le raccourci `Ctrl`+`Alt`+`T` permet d'ouvrir un nouvel onglet donnant accès à un shell `crosh`.\n\n## Commande `vmc`\n\n* Afficher les VM :\n```\nvmc list\n```\nLa VM existante se nomme `termina`.\n\n* Démarrer `termina` :\n```\nvmc start termina\n```\nLa commande `exit` permet de revenir sur le shell `crosh`.\n\n* Arrêter `termina` :\n```\nvmc stop termina\n```\n\n* Détruire `termina` :\n```\nvmc destroy termina\n```\n\n* Créer un conteneur `kali` dans `termina` :\n```\nvmc container termina kali https://us.images.linuxcontainers.org kali\n```\nLes images Linux utilisables pour les conteneurs de `termina` sont disponibles [ici](https://us.images.linuxcontainers.org).\n\n## Commande `lxc`\n\n* Ouvrir un Virtual SHell `vsh` sur la VM `termina` :\n```\nvsh termina\n```\n\n* Afficher les conteneurs :\n```\nlxc list\n```\n\n* Afficher les conteneurs :\n```\nlxc info \u003ccontainer\u003e\n```\n\n* Créer une snapshot de conteneur :\n```\nlxc snapshot \u003ccontainer\u003e \u003csnapshot\u003e\n```\n\n* Restaurer une snapshot de conteneur :\n```\nlxc restore \u003ccontainer\u003e \u003csnapshot\u003e\n```\n\n* Supprimer un conteneur :\n```\nlxc delete \u003ccontainer\u003e\n```\n\n* Copier un conteneur :\n```\nlxc copy \u003cold\u003e \u003cnew\u003e\n```\n\n* Exécuter un shell `bash` sur le conteneur `kali` :\n```\nlxc exec \u003ccontainer\u003e -- bash\n```\n\n## Configuration initiale du conteneur\n\n* Mettre à jour le conteneur :\n```\nsudo apt update\nsudo apt upgrade\n```\n\n* Trouver l'utilisateur non-root créé pour le conteneur :\n```\ngrep 1000:1000 /etc/passwd|cut -d':' -f1\n```\n\n* Donner à l'utilisateur un mot de passe et les permissions super-utilisateur :\n```\npasswd \u003cusername\u003e\nusermod -aG sudo \u003cusername\u003e\n```\n\n* Se connecter avec le compte de l'utilisateur non-root :\n```\nsu - \u003cusername\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-doolaeghe%2Fcrostini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevin-doolaeghe%2Fcrostini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-doolaeghe%2Fcrostini/lists"}