Using podman instead of docker for the Docker 2 task in Azure DevOps

0 votes

Our build agent is running Podman 3.4.2, and each terminal session has a global alias that just replaces docker with podman, thus the command docker —version returns podman version 3.4.2 as a consequence.

The purpose is to employ podman in an Azure DevOps pipeline for the Docker@2 task:

steps:
- task: Docker@2
  displayName: Build and push an image to container registry
  inputs:
    command: buildAndPush
    repository: aspnet-web-mhi
    dockerfile: $(dockerfilePath)
    containerRegistry: $(dockerRegistryServiceConnection)
    tags: |
      $(tag) 

Is it possible to make that replacement operate without too much trouble? 

If possible, I'd avoid writing everything myself and utilise podman instead of docker and publish it to a registry.

Dec 15, 2022 in DevOps on Cloud by Nicholas
• 7,760 points
1,199 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In DevOps on Cloud

0 votes
1 answer

Advantages of using DevOps with Azure

One of the main advantages is the ...READ MORE

answered Mar 29, 2019 in DevOps on Cloud by Yesha
729 views
0 votes
1 answer

I am looking for a python code to get my Azure VM status in my email , like whether the running vms port is open to the internet. If its open to internet I should get a mail notification

Hey, @Sourav, Check this out https://www.edureka.co/community/66025/azure-vm-monitoring It deals with ...READ MORE

answered May 29, 2020 in DevOps on Cloud by Sirajul
• 59,230 points
1,826 views
0 votes
0 answers

What is the abbreviation for Azure DevOps?

Could it be ADO, but it gets ...READ MORE

Mar 15, 2022 in DevOps on Cloud by Kichu
• 19,040 points
539 views
0 votes
1 answer
0 votes
0 answers

OWASP Zed Attack Proxy Scan in DevOps pipeline

I want to do the "Authenticated Scan" ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,040 points
858 views
0 votes
1 answer
0 votes
0 answers

Multiple YAML build pipelines in Azure DevOps

Using the new YAML way I want ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,040 points
1,145 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP