-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Use LISA docker image on Linux | ||
===================== | ||
|
||
This guide will walk you through using the LISA Docker image on a Linux system. | ||
|
||
Install docker on Linux | ||
----------------------- | ||
|
||
The first steps are to install Docker on your system. | ||
|
||
On Ubuntu, you can install Docker with the following commands: | ||
|
||
.. code:: bash | ||
sudo apt update | ||
sudo apt install docker.io -y | ||
On Azure Linux, you can install Docker with the following commands: | ||
|
||
.. code:: bash | ||
sudo tdnf update | ||
sudo tdnf install -y moby-engine moby-cli | ||
Start Docker service | ||
-------------------- | ||
|
||
After installing Docker, you can start the Docker service with the following command: | ||
|
||
.. code:: bash | ||
sudo systemctl start docker | ||
List docker images | ||
------------------ | ||
|
||
You can check the available tags for the LISA Docker image by listing the tags from the Microsoft Azure Registry. | ||
|
||
.. code:: bash | ||
curl -s https://mcr.microsoft.com/v2/lisa/runtime/tags/list | ||
Launch LISA container | ||
----------------------- | ||
|
||
Use below command to launch the LISA container. | ||
|
||
.. code:: bash | ||
sudo docker run --rm -i mcr.microsoft.com/lisa/runtime:latest lisa -r ./examples/runbook/hello_world.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Use LISA docker image on Windows | ||
===================== | ||
|
||
This guide will walk you through using the LISA Docker image on a Windows system. | ||
|
||
Install Docker Desktop on Windows | ||
----------------------- | ||
|
||
The first steps are to install Docker on your system. | ||
|
||
You can download Docker Desktop from the `Docker website <https://www.docker.com/products/docker-desktop>`__. | ||
|
||
Start Docker service | ||
-------------------- | ||
|
||
After installing Docker, open the Docker Desktop application to start the Docker service. Or use the following command to launch and start the Docker service. | ||
|
||
.. code:: powershell | ||
Start-Process "C:\Program Files\Docker\Docker\Docker Desktop.exe" | ||
List docker images | ||
------------------ | ||
|
||
You can check the available tags for the LISA Docker image by listing the tags from the Microsoft Azure Registry. | ||
|
||
.. code:: powershell | ||
(Invoke-WebRequest -Uri "https://mcr.microsoft.com/v2/lisa/runtime/tags/list" -UseBasicParsing).Content | ||
Launch LISA container | ||
----------------------- | ||
|
||
Use below command to launch the LISA container. | ||
|
||
.. code:: powershell | ||
docker run --rm -i mcr.microsoft.com/lisa/runtime:latest lisa -r ./examples/runbook/hello_world.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters