Questions tagged [container]

Questions concerning container in Digital container format, programming, type theory, Operating system-level virtualization, Web container, etc.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
60 views

docker failed to add the host, pair interfaces: cannot allocate memory

When running this docker compose command clear && docker system prune -f && docker-compose -f docker-compose.local.yaml down --remove-orphans && docker-compose -f docker-...
NFeruch - FreePalestine's user avatar
0 votes
0 answers
37 views

How do I make a realistic container without the over head of a vm

So I want to make a simulated LAN for a locally hosted hacking mc thing. And I want to reward creative thinking. I order to do so I need a container that has systemd, a desktop environment(kde for ...
lnee's user avatar
  • 796
0 votes
0 answers
76 views

Map the .local domain and subdomain for docker container in ubuntu 22.04

I have a Linux server with Ubuntu 2022, whose IP is 192.168.100.82, and to access applications running on Docker, I need to enter the IP address and port, there are three applications on ports 3000, ...
Yousef Keyghobadi's user avatar
1 vote
0 answers
94 views

Errors during install GNOME Desktop in ubuntu Docker container, remote control with XRDP!

I have tried the several steps and several times to build a Docker image for Ubuntu Desktop in container. My steps are as follows: Using the official Docker image of ubuntu: docker run -tid --name ...
Glowberry's user avatar
0 votes
0 answers
19 views

MultiContainer with shared Volume as EmptyDir working however when used shared Volume as hostPath not working

I have a K8s cluster with one master and one worker Node. Scenario – 1 I am deploying a simple sidecar container within the same POD where I have defined emptyDir as share volume and it is working ...
Kubespecial's user avatar
1 vote
1 answer
304 views

Dockerized pi-hole on ubuntu makes the connection unusable, is it expected?

In order to use pi-hole in a container on Ubuntu 22.04.3 LTS I first download docker pull pihole/pihole then I free up some ports sudo systemctl disable systemd-resolved.service && sudo ...
SO_32's user avatar
  • 153
0 votes
0 answers
40 views

Issue with Sound Configuration in Ubuntu Docker Container on Google Cloud

I'm currently experiencing issues configuring sound within a Docker container on Google Cloud. I'm attempting to run a containerized environment with sound capabilities using the snd-aloop kernel ...
Abou El Abbes Abdulatif's user avatar
0 votes
1 answer
70 views

How to convert the nvidia-container-toolkit.list in Ubuntu

Here is the original nvidia-container-toolkit.list from GitHub: https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list deb https://nvidia.github.io/libnvidia-container/...
stackbiz's user avatar
  • 267
0 votes
0 answers
60 views

Configure nginx running locally to server the port running docker container locally

Hi this may be a noob question. I am trying to replicate a 502 bad gateway error when using nginx as a web server. I have locally running VM of Ubuntu 20.04.6 LTS on which I have freshly installed ...
Curious Developer's user avatar
0 votes
0 answers
30 views

How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app?

How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app? I want to fast load in ubuntu and windows an iso of ubuntu to test bugs. What is best ...
Kangarooo's user avatar
  • 5,055
0 votes
0 answers
30 views

How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?

How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone? Snapshots or clones of system and then working in ...
Kangarooo's user avatar
  • 5,055
0 votes
0 answers
78 views

I want to create containerd/config.toml file for local lxc containers

0 I've been trying and looking for a solution to use my local lxc containers images to get loaded in my local k8s cluster. By this, I have a Dev Environment, which has few lxc containers and images. I ...
Hyp3rActiv3's user avatar
0 votes
0 answers
48 views

How to add microphone access to containers for multiple clients?

I’m running into a frustrating problem. I installed an ubuntu version 20.04 and installed Docker on it I started a container named linuxserver/firefox on Docker. I tried to set up the microphone for ...
MohammadReza Masoudian's user avatar
0 votes
1 answer
177 views

How show Podman container stats with glances?

I installed glances via pip and it does not show Podman containers. Docker container however are shown when I run glances with sudo. Docker is run as root, Podman run rootless. I changed my glances....
Tim M. Schendzielorz's user avatar
0 votes
1 answer
1k views

How to passthrough a device to a podman container?

I am running Ubuntu Server 22.04.3 LTS and I am trying to use Podman. I fail to passthrough a device (in my case /dev/ttyUSB0) to the container. Running podman --device /dev/ttyUSB0 ... just does not ...
TorstenS's user avatar
  • 213
0 votes
0 answers
177 views

Automatic startup of Samba service in Docker containers

I have a Raspberry on which docker is running. I created an Ubuntu container (current version) on which I installed Samba. Samba works fine, I start it and my pcs access the shares. I then set the ...
matti157's user avatar
  • 101
0 votes
0 answers
79 views

Can AppArmor provide isolation between containers? (like SELinux)

I'm interested in using AppArmor to enforce security boundaries between containers. https://www.redhat.com/sysadmin/apparmor-selinux-isolation was written a few years ago comparing AppArmor and ...
Chris Sears's user avatar
0 votes
0 answers
186 views

How add an usb to Ethernet interface to a docker container

I have an ubuntu 22.04 OS. Currently I have PCI ethernet connection up and running and I also have a running docker container with eth0 connected to default docker bridge. The commutation flow is up ...
BhanuKiran's user avatar
1 vote
1 answer
2k views

Add systemd to boot of a docker container

I have an ubuntu:22.04 container in docker. I need to access to systemd on it. Now, I've installed the systemd via my Dockerfile. But after running the image, systemctl command produces following ...
Shahab.es's user avatar
  • 121
0 votes
0 answers
524 views

Cgroup one of the needed subsystems is not mounted

I'm a web application developer. I am learning about container internals and Linux. I was following the article Complete Intro to Containers. When I ran the command cgcreate -g cpu,memory,blkio,...
shantanu sharma's user avatar
0 votes
0 answers
96 views

Changing the Pod and Service CIDR?

How would one go about changing the: Pod (10.1.0.0/16) Service (10.152.183.0/24) Kubernetes API (10.152.183.1) CoreDNS (10.152.183.10) CIDRs that come stock with installing Microk8s? I run a 10.0....
chazlander's user avatar
0 votes
0 answers
124 views

Tried to block an ip address to my server and docker containers

I am running a docker server under Ubuntu 22.04.2 with several ip addresses and container. In my log files i see that an external ip is trying to connect to a minecraft server, that runs in a docker ...
Epyx's user avatar
  • 1
0 votes
0 answers
187 views

Pre-Built (SEED Labs) Ubuntu 20.04 is behaving differently on my Machine

We are taking the Software Security and Web Security part of SEED Labs v2.0 as part of our Computer Security class. I have completed all tasks under Software Security; however, I got stuck in the Web ...
Iroshi's user avatar
  • 1
0 votes
1 answer
2k views

Download Ubuntu rootfs

Similar to what is possible with Alpine Linux is there a place where I can download some kind of official "core" rootfs of Ubuntu, mainly for chroot purposes?
s.k's user avatar
  • 1,250
1 vote
0 answers
287 views

Run Ubuntu Touch in chroot container on Android

On my Fairphone 4 I got Ubuntu running in a chroot container using Linux Deploy. I'd like to try out Ubuntu Touch, but I don't want to wipe my phone just to do that. Is it possible to either run ...
Dakkaron's user avatar
  • 274
0 votes
1 answer
277 views

What is the implementation of Docker on Ubuntu Core in terms of Snap sandbox instance [closed]

I installed the Docker Snap on Ubuntu Core using the following commands: sudo snap install docker I have been able to create create a Dockerfile and a docker-compose.yaml file to build a image using ...
Kris's user avatar
  • 139
0 votes
1 answer
196 views

Install helix-p4d on arm64

I'm actually trying to install a helix core server (p4d) on a QNAP TS-233 (NAS) with a Cortex-A55@2Ghz (ARM64 processor) but there is no arm64 package available from their site. Did someone manage to ...
BasicRem's user avatar
0 votes
0 answers
37 views

When SSHed into Ubuntu Core how to know which container running from

I setup a Ubuntu Core 22 IoT device and I was able to SSH into it. Since Ubuntu Core is a container operating system ,I wanted to know if I am SSHed into the device which container is my SSH session ...
Kris's user avatar
  • 139
0 votes
1 answer
117 views

Ubuntu Core and Docker like networking

Does Ubuntu Core and Snaps (containers) allow for the flexibility that Docker networking allows, such as: default docker bridge user defined bridge deploying containers to host networking MACVLANs (...
Kris's user avatar
  • 139
0 votes
1 answer
4k views

I can't build docker image

I try to build this simple dockerfile but its not working: Dockerfil: FROM nginx:latest ADD . /usr/share/nginx/html Command and output: ife@ife-HP-ProBook-6560b:~$ docker build -t web:latest . [+] ...
Ifeoluwa Adaralegbe's user avatar
0 votes
2 answers
184 views

Mythtv backend install problems

I am trying to install mythtv on Proxmox as Ubuntu 22.04 container. I had fallowed instructions on web and video on youtube I ended with command: sudo apt-get install mysql-server mythtv-backend ...
ruffpl's user avatar
  • 21
0 votes
2 answers
399 views

Why can I not attach a shell to Google's hello-app:v1 container?

I've deployed a simple Kubernetes bare pod (hello-world-pod) in a cluster with nodes running Ubuntu 18.04 in Vagrant. When I run this command, kubectl exec -it hello-world-pod -- /bin/sh ...I get the ...
wwillfred's user avatar
-1 votes
1 answer
1k views

Restore deleted docker container in Virtual Machine

I have connected to a VM via SSH in Visual Studio Code and in that connected to docker container. When I closed the container, the container got deleted permanently. When I check in VM "docker ps&...
user20663427's user avatar
0 votes
2 answers
8k views

Which command do I use to login to a container with podman?

I created a pod named multi-container. Its a yaml file: apiVersion: v1 kind: Pod metadata: name: multi-container spec: containers: - image: nginx name: nginx-container - image: redis ...
santhosh's user avatar
0 votes
0 answers
288 views

Docker container started running in ubuntu . But then again saying "No such container"

sudo docker build -t ssh-mock . --no-cache sudo docker run --rm -d --name ssh-mock -p 9991:9991 ssh-mock sudo docker logs -f ssh-mock I ran these commands to build , run and view the logs. As shown ...
Pasan Jayawickrama's user avatar
0 votes
0 answers
155 views

Problem with RUN command in Dockerfile on Ubuntu 22.04.1 LTS

I am new with docker. I have the following Dockerfile and docker-compose.yml file FROM python:3.9-alpine3.13 ENV PYTHONUNBUFFERED 1 COPY ./requirements.txt /tmp/requirements.txt COPY ./app /app ...
Jules Betfien's user avatar
1 vote
1 answer
4k views

Cannot execute /usr/local/bin/fish: No such file or directory

To preface, I'm new to all this and still learning, so please bare with me when it comes to terminology and locating things. Setup: Proxmox Virtual Environment 7.2-3 + Container + ubuntu-22.04-...
user5889211's user avatar
0 votes
2 answers
888 views

How to deal with outdated Docker images?

Docker images are built at some point in time and later they are fetched by the users of those images, and they create containers based on them. Seeing how often updates show up on Linux distros (like ...
mnj's user avatar
  • 203
0 votes
0 answers
425 views

build docker image with or without sudo?

I have a really simple doubt but could not find an exhaustive answer anywhere. When I build a docker image is it a good practice to build it with sudo? If yes, why? and why not? i.e. should I do: sudo ...
desmond13's user avatar
  • 694
23 votes
3 answers
13k views

What's the recommended way of installing Podman 4 in Ubuntu 22.04?

Ubuntu 22.04 only has Podman 3.4.4 in its repos and the former PPA for latest Podman was discontinued for 22.04 Kubic packages have been discontinued for Ubuntu 22.04 LTS. Current users of the Kubic ...
alexanderadam's user avatar
0 votes
0 answers
60 views

Ubuntu without containers?

Is it possible to configure later (20+) versions of Ubuntu to NOT (ever) use containers such as snap and docker? So tired of seeing these tools consume all the resources. Would prefer to run ...
Micheal Shallop's user avatar
2 votes
1 answer
1k views

podman: OCI Runtime crun is in use by a container, but is not available (not in configuration file or not installed)

I'm not sure why I am getting this error: $ podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b18ec89fc0ec docker....
Alex Ryan's user avatar
  • 287
1 vote
1 answer
972 views

podman container ip address should remain same with disconnect and connect

Assume podman network net1 and container cont1. I connect podman network to a container during creation with --net net1. Also use podman network disconnect/connect net1 cont1 commands to dis-and-...
ItzMe's user avatar
  • 23
0 votes
1 answer
154 views

LXD export backup failed. Snapshot error

I tried to make lxc backup and get's error that failes on some snapshot for 2 years ago. run test command lxc export backup /tank/local/lxd/backups-temp/backup_test.tar.gz -v Error message: Error: ...
Pulsar's user avatar
  • 1
0 votes
2 answers
9k views

How to access the filesystem inside Docker containers on Ubuntu 20.04?

I need to access a file system of a docker image, but when I use the path /var/lib/docker this is what I get buildkit/ containers/ image/ network/ overlay2/ plugins/ runtimes/ swarm/ ...
Ahmed sherif's user avatar
0 votes
0 answers
101 views

Service takes a long time to shutdown

I recently started practicing kubernetes on my local machine which is ubuntu 21.04L in a virtual machine (VMWare). Whenever I shutdown it is stuck for few minutes for containerd-shim with the ...
Simple Fellow's user avatar
0 votes
0 answers
710 views

How to authenticate when connecting to a proxy server inside ubuntu-based docker container?

I am building a docker container that should use proxy server when sending HTTP requests. Unfortunately I can't get it to work - I can't authenticate to the proxy from inside the container, even ...
nuclear_bean's user avatar
0 votes
1 answer
317 views

How to download ubuntu container image from Canonical Partner Images website

I am new to Ubuntu/Linux. I am shifting to Ubuntu because of development problems in Win10 environment. I have installed docker. I wanted to run Linux containers on Windows and visited the website: ...
DrSaaie K B's user avatar
0 votes
0 answers
83 views

Why are processors seemingly so active on an Ubuntu 20.04 Server with no appreciable services running in an LXC container?

On a minimal Ubuntu 20.04 server that's just been set up (and with some services disabled), I'm finding that htop is conveying that there's more processor activity going on than what I figure should ...
ylluminate's user avatar
  • 1,439
6 votes
1 answer
23k views

Docker-compose mounted file system operation not permitted for volume

I am experiencing a problem with docker-compose, its mounting a volume in a folder on a mounted hard drive. I have seen lots of solutions out there and honestly tried them all. I changed the ...
Brain Bytes's user avatar