ttu-capstone-podman / podman-installer-mac

"Turn-key" installer for Podman on MacOS. Tennessee Tech University Senior Capstone project.
2 stars 0 forks source link

Configure CentOS virtual machine to work with Windows remote client #22

Open RothAndrew opened 4 years ago

RothAndrew commented 4 years ago

Story

As a non-linux user of podman, I want the ability to configure a CentOS linux virtual machine in an easy and repeatable manner, in order to prepare it to be used as a remote host for the podman-remote client (on either Mac or Windows)

Additional Context:

Since many of our team members don't have access to macs yet, this can be done on Windows. The idea is to do the ansible configuration locally inside the VM, then move it out to the Mac once we get them.

Acceptance Criteria

  1. I can use Ansible to make the necessary configuration to a CentOS 8 virtual machine running in Windows so that I can use it on Windows with the podman-remote client
  2. The work done to do this configuration does not use any windows-specific tools to do it.
  3. After the VM is configured, I can run podman run hello-world:latest and get the same output as docker run hello-world:latest (after configuring the podman-remote client to connect to the VM)

Technical Notes:

  1. Not everything will be able to be done automatically this way, such as adding your SSH key to the VM's /root/.ssh/authorized_keys. Things like this can be done manually.
  2. Make sure to look at the tutorial on podman's GitHub to see what needs to be done inside the VM as far as configuration.
  3. The VM does not have to use xhyve. Any VM runner is fine. When we switch to Mac we still want to use xhyve.
  4. The VM doesn't have to be stood up using vagrant. If you want to do so anyway because it will make it easier to bring up and down feel free to do so.