概要
croshでのやり方を何気によく忘れるので、ここにメモ。
普通にターミナル上で exit
してもウィンドウ閉じてるだけなので駄目です。
以下の2つの方法で出来る。
crosh に入って再起動
chrome 開いて、Ctrl+Alt+t
で crosh を表示して、以下のコマンドを打つ.
Welcome to crosh, the Chrome OS developer shell. If you got here by mistake, don't panic! Just close this tab and carry on. Type 'help' for a list of commands. If you want to customize the look/behavior, you can use the options page. Load it by using the Ctrl+Shift+P keyboard shortcut. crosh> vmc list termina (5368786944 bytes, min shrinkable size 3260022784 bytes, raw) Total Size (bytes): 5368786944 crosh> vmc stop termina crosh> vmc start termina
実行後に、crosh 上で コンテナ のシェルが表示されるので、exit
で抜けて、さらに exit
で crosh を抜ける
ドックのアイコンを右クリックして再起動
ドックに出てるターミナルのアイコンを右クリックして Linux(ベータ版)を終了
をクリック。
これが一番楽ですね。
過去の記事については、以下のページからご参照下さい。
- いろいろ備忘録日記まとめ
サンプルコードは、以下の場所で公開しています。
- いろいろ備忘録日記サンプルソース置き場