Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4489

Assign static ip to an ubuntu image in docker

$
0
0

I currently have a test environment to implement a reverse proxy server, I have Docker Desktop installed on Windows 10, I have a test container running and in that container an Ubuntu 22.04.4 LTS image and I need to configure a static IP into ubuntu image to configure openvpn and squid.

I investigated the change with netplan command but it is not installed into ubuntu image and when I try to install it it sends me this message:

Package netplan is not available, but is referred to by another package. This may mean that the package is missing, has been obsolete, or is only available from another source

E: Package 'netplan' has no installation candidate

And many of the commands always send me this type of messages bash: command not found

So what package or tool i need to change network configuration? again all this into de ubuntu image.


Viewing all articles
Browse latest Browse all 4489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>