---
title: "Discussion on \"Failed to build docker image with warning message \"IPv4 forwarding is disabled. Networking will not work\"\" | Hashnode"
description: "Discussion on \"Failed to build docker image with warning message \"IPv4 forwarding is disabled. Networking will not work\"\". Problem\nStep 3/12 : RUN apk add openjdk11\n ---> [Warning] IPv4 forwarding is disabled. Networking will not work.\n ---> Running in 0f20ee3ab3eb\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz\nERROR: https://dl-cdn.alpinel..."
url: "https://hashnode.com/posts/failed-to-build-docker-image-with-warning-message-ipv4-forwarding-is-disabled-networking-will-not-work/631f14ac526d775aa7f64afd"
---

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

Discussion

# [Failed to build docker image with warning message "IPv4 forwarding is disabled. Networking will not work"](https://blog.adafycheng.dev/failed-to-build-docker-image-with-warning-message-ipv4-forwarding-is-disabled-networking-will-not-work?utm_source=hashnode&utm_medium=feed)

Problem Step 3/12 : RUN apk add openjdk11 ---> \[Warning\] IPv4 forwarding is disabled. Networking will not work. ---> Running in 0f20ee3ab3eb fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86\_64/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinel...

Sep 12, 2022 · 1 min read · blog.adafycheng.dev  
Updated Oct 7, 2022  
Read the article

-   [#docker](https://hashnode.com/tag/docker)

## Written by

[Ada Cheng](https://hashnode.com/@adafycheng)

@adafycheng · Manchester, United Kingdom

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

Software Developer

I am a Software Developer, mainly involved in Software Development of JAVA-enabled web applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
