---
title: "Discussion on \"Day 27 Task: Jenkins Declarative Pipeline with Docker\" | Hashnode"
description: "Discussion on \"Day 27 Task: Jenkins Declarative Pipeline with Docker\". docker build - you can use sh 'docker build . -t <tag>' in your pipeline stage block to run the docker build command. (Make sure you have docker installed with correct permissions.\ndocker run - you can use sh 'docker run -d <image>' in your pipeline ..."
url: "https://hashnode.com/posts/day-27-task-jenkins-declarative-pipeline-with-docker/648f0161dd5c9d97197b8b1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 27 Task: Jenkins Declarative Pipeline with Docker](https://dimple.hashnode.dev/day-27-task-jenkins-declarative-pipeline-with-docker?utm_source=hashnode&utm_medium=feed)

docker build - you can use sh 'docker build . -t <tag>' in your pipeline stage block to run the docker build command. (Make sure you have docker installed with correct permissions. docker run - you can use sh 'docker run -d <image>' in your pipeline ...

Jun 18, 2023 · 1 min read · dimple.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#jenkins](https://hashnode.com/tag/jenkins)
-   [#tws](https://hashnode.com/tag/tws)
-   [#docker](https://hashnode.com/tag/docker)
-   [#pipeline](https://hashnode.com/tag/pipeline)

## Written by

[Dimple Abrol](https://hashnode.com/@Dimple99)

@Dimple99

  
[View profile](https://hashnode.com/@Dimple99)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
