vagrantfileを介したインストール中のVMへのdockerのインストール
vagrantを介してVMのセットアップの一部としてDockerをインストールしようとしています。Vagrantファイルに次を追加しました。 # Install Docker: config.vm.provision :shell, path: "./shared_directory/install_scripts/install_docker.sh" でinstall_docker.shあると: echo "-------Try to install docker---------" cd ~ sudo su - apt-get update apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - apt-key fingerprint 0EBFCD88 add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" echo "Y" | apt-get install docker-ce …