Questions tagged [containers]

436 questions
5
votes
1 answer

How to deal with missing packages from ubi-8-appstream?

I'm looking for best practices with Red Hat's sponsored container images: Universal Base Image, when we need to deploy application using this containers. A lot of third party apps requires packages from AppStream, and there's clearly a gap between…
Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95
5
votes
0 answers

Ports exposed by docker container are shown as filtered - unable to connect

I am working on a fresh server installation of Ubuntu 20.04 I started a sample nginx by running docker run --rm -p 80:80 nginx Port 80 appears to be open on the machine, I cant curl the nginx default page though: $ nmap localhost Starting Nmap 7.80…
mxcd
  • 151
  • 3
5
votes
0 answers

How to bind a podman container to specific host IP

I need to setup a ssh server (actually a git repo) inside a podman container. The host system has sshd already running on port 22. I am creating a pod with following command: # podman pod create --name=gitlab --share net -p 22:22 -p 443:443 -p…
SWilk
  • 181
  • 2
  • 7
4
votes
1 answer

Unable to list services in AWS EKS

I'm setting up my first Kubernetes EKS cluster by following the Getting Started guide but I can't get past the step that verifies access with kubectl get svc. Instead of the list of services I'm getting: error: the server doesn't have a resource…
KeepLearning
  • 665
  • 7
  • 10
4
votes
1 answer

Docker hello-world container won't start on Windows Server 2016 on top of VMWare

I've been trying to get Docker installed and running on a Windows VM to get a better understanding of the runtime for downstream work, and I'm running into the issues starting the hello-world container. Environment: VMWare virtual hardware: 4 GB…
4
votes
0 answers

Connecting a local Elixir/Erlang to a running application inside a Docker container

I've got an Elixir application running inside a Docker container (in my laptop). The Elixir application was executed with the following command: iex \ --name test@1.2.3.4 \ --cookie secret \ --erl '-kernel inet_dist_listen_min 9000' \ --erl…
4
votes
0 answers

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a command instead of an interactive walkthrough.
coderkid
  • 193
  • 1
  • 5
4
votes
1 answer

call binary from docker container inside another docker container?

What would be the way to load a certain binary from a certain container in docker from inside another container? container 1: web container 2: ffmpeg I would want to call ffmpeg binary living in container 2 from the container 1. Confused on how to…
Rubytastic
  • 223
  • 1
  • 2
  • 14
4
votes
2 answers

LXC container shows host's full RAM amount and CPU count

I've been using LXC containers for a few years and have recently expanded the types of applications that run inside of container environments. I'm starting to limit resources at the container level now with configuration parameters…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
4
votes
1 answer

communication between containers in docker other than sockets/network

Is there any to way to communicate among docker containers other than via sockets/network? May be it can be IPC or some other means. Is it feasible? I have read docker documentation which says we can link docker containers using --link option but…
tamilmani
  • 41
  • 2
4
votes
1 answer

Configuring Container with bridges and vlans (server only?)

I have two groups of lxc contianers on a server and want to isolate their network traffic for security reasons. I will be using port forwarding so the containers much each have separate IP's. I know I must subnet both groups and intend to give each…
user108168
  • 141
  • 1
4
votes
7 answers

What's the benefit of using "containers" in the datacenter as opposite to regular installation

I have just seen this video: Google container data center tour What is not quite clear to me is, what's the benefit from placing the servers inside containers?
OscarRyz
  • 384
  • 1
  • 7
  • 15
4
votes
1 answer

Connect to postgres database behind nginx reverse-proxy using docker containers

I have set up a postgres database container and can connect and query it directly using its published port 5434. The goal is to deploy the test database later and access it via nginx reverse proxy. I don't know what is the best way to connect to a…
Vadzim
  • 41
  • 1
  • 2
4
votes
1 answer

Running windows container's command prompt in admin mode

I am running Windows Nanoserver in a container.The nanoserver contains only the command prompt and lacks powershell. I want to execute certain commands inside the container in the command prompt which require elevated privileges. I am currently…
4
votes
0 answers

How can I authenticate users inside a docker container against the host system's SSSD which itsself retrieves user data via LDAP?

I have a container host on which users are authenticated against a company Active Directory using SSSD with LDAP. On this host I have several docker containers running. Some of these containers just need to recognize the users (like e.g. the "id "…
JoHe
  • 41
  • 1