Files
Ashley Cui 527b3793b8 Use machine image as specified in containers.conf
For podman machine init, deprecate the --image-path option for --image.
--image now accepts the correct image from containers.conf

Also, add the ability to specify an OCI image from the --image flag using the docker:// transport.

Signed-off-by: Ashley Cui <acui@redhat.com>
2024-02-29 13:38:43 -05:00
..
2024-02-19 15:23:56 -05:00
2023-02-11 18:23:24 +01:00
2024-02-15 21:05:17 -06:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2023-05-02 11:27:35 +02:00
2024-02-15 21:05:17 -06:00
2024-02-07 09:19:16 -06:00
2024-02-18 08:43:12 -06:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00

Working README for running the machine tests

Note: you must not have any machines defined before running tests

Linux

QEMU

make localmachine

Microsoft Windows

HyperV

  1. Open a powershell as admin
  2. $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
  3. ./winmake localmachine

Note: To run specific test files, add the test files to the end of the winmake command:

./winmake localmachine "basic_test.go start_test.go"

WSL

  1. Open a powershell as a regular user
  2. Build and copy win-sshproxy into bin/
  3. ./winmake localmachine

Note: To run specific test files, add the test files to the end of the winmake command:

./winmake localmachine "basic_test.go start_test.go"

MacOS

Apple Hypervisor

  1. make podman-remote
  2. make localmachine (Add FOCUS_FILE=basic_test.go to only run basic test)