Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [ubuntu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Make AMD GPU available in Docker container

I am running g4ad family instances on AWS. I am running there docker containers where I need to access the AMD GPUs. The used AMI for host instance is Amazon Linux 2 optimised for AMD. The base image ...
Michal Dolnik's user avatar
1 vote
1 answer
35 views

Can't connect to local mongoDB from Docker Container

I have mongodb running in the host machine (Ubuntu 23.04) in the default port. I have set the bind_ip to be 0.0.0.0. In my docker-compose file, I have added extra_hosts: - "host.docker....
Equation_Charmer's user avatar
1 vote
2 answers
108 views

Prometheus not Starting (Exec Format Error)

I am trying to run Prometheus on my Ubuntu Linux VM on a Mac M1 (if those details are necessary). OS: Ubuntu 23.10 Prometheus: 2.51.2 I make the config files, and as I run the following lines, sudo ...
drew's user avatar
  • 11
0 votes
0 answers
19 views

Deploy a ReactJS Application to AWS EC2 Instance using AWS CodePipeline

I am trying to deploy a simple React JS app onto Ubuntu EC2 instance through AWS CodePipeline. I am using the following code in the appspec.yml file: # This is an appspec.yml template file for use ...
Ahmad Qayyum's user avatar
0 votes
2 answers
38 views

Ubuntu container not running in detached mode

I tried running my containers in detached mode and noticed some issues. When I ran the command docker container run -d nginx, the image of nginx got pulled, the container got created, and kept running ...
Jilson's user avatar
  • 11
3 votes
1 answer
58 views

What’s the docker compose equivalent of my docker command?

I’ve been using the command line for docker for 2 weeks and just learned how to use docker compose yesterday using the excellent documentation I found at Jellyfin. I got a Jellyfin container up and ...
uspam4ever's user avatar
0 votes
1 answer
48 views

Docker gets stuck when running 16 tests

I'm running my dotnet 7.0 tests using "testcontainers" on windows machine. The tests are parallelized integration tests which use SQL Server inside a Linux docker container. Each test ...
Bizhan's user avatar
  • 101
-1 votes
1 answer
857 views

unzip | caution: filename not matched [closed]

I'm trying to unzip multiple files which has a prefix in common service1.zip service-2.zip service_3.zip and so on... Now, when I try to unzip all those files at once using the command unzip service*....
AV Reddy's user avatar
0 votes
1 answer
538 views

Microk8s Cluster Node not ready on Ubuntu with "cni plugin not initialized: failed to load cni config"

I'm trying to start a microk8s kubernetes instance on an ubuntu server, however the node becomes not ready. ~$ microk8s status microk8s is not running. Use microk8s inspect for a deeper inspection. ...
phi1010's user avatar
  • 101
0 votes
0 answers
18 views

How to make master node and worker nodes before installing kubernetes on Ubuntu?

I am trying to install kubernetes on my Ubuntu 22.04 os. I found blogs and videos in Youtube but failed and deleted all. I had hard time when making master node and worker nodes because there was no ...
ekfqlc's user avatar
  • 1
0 votes
1 answer
62 views

Docker Engine not seeing installed Nvidia runtime

I am using Ubuntu 22.04, I installed docker and docker desktop. After installing the Nvidia docker runtime via the Nvidia docker toolkit, Nvidia runtime is not visible after system restart. I updated ...
user42198's user avatar
0 votes
0 answers
10 views

Ensuring Ubuntu docker image will not kill the process under heavy load

We run our app as a daemon (or some times with nohup command) so that Ubuntu will not kill this process under heavy processor and memory load. However, we want to dockerize (on Ubuntu 20.04 docker ...
RajS's user avatar
  • 141
0 votes
1 answer
609 views

Unable to install nodejs 20 in AWS codebuild image

I need to install nodejs 20 as part of a build process running on codebuild. Steps to reproduce - sudo apt purge nodejs -y - sudo apt-get install -y ca-certificates curl GnuPG - export NODE_MAJOR=20 - ...
Joao  Vitorino's user avatar
0 votes
1 answer
820 views

Ubuntu Server 22.04 Autoinstall and Cloud-Init Not Executing Commands

I am trying to set up an Ubuntu Server 22.04 installation using autoinstall and cloud-init. I have two USB keys (I followed this tutorial https://www.jimangel.io/posts/automate-ubuntu-22-04-lts-bare-...
Bastien's user avatar
0 votes
0 answers
83 views

Unable to build multi architecture docker image

I want to built a docker image on my Intel laptop. The image will be deployed on both x86/x64 and arm64 hosts. The docker file uses ubuntu:20.04 base image. I tried building the image with following ...
RajS's user avatar
  • 141
0 votes
1 answer
5k views

Docker on Ubuntu, getting ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component

I ran the command sudo rm -rf ~/.local/share/containers/ and now I'm getting, ERROR: BuildKit is enabled but the buildx component is missing or broken. Install the buildx component to build ...
Evan Carroll's user avatar
  • 2,161
0 votes
0 answers
209 views

Start XAMPP in docker witouth ROOT

I installed xampp inside a docker using the standard xampp installer and wrote a startup script that I set as the CMD that starts xampp. My problem is that to start xampp root is required. And on ...
Phönix 64's user avatar
1 vote
1 answer
476 views

Unable to see manually created playbooks in AWX

I have a strange issue that has me racking my brain. I have installed AWX 22.3.0 onto Ubuntu 22.04.1-Ubuntu at least three times now. Let me make sure I get everything to those reading this. I have ...
marshit's user avatar
  • 11
1 vote
1 answer
2k views

Why is Ansible task getting stuck for so long?

I'm new to Ansible, I've made a playbook with only two tasks as shown below: - name: Installing Kubernetes for the master node connection: ssh hosts: x.x.x.x become_method: su tasks: - ...
Muhammed Adil's user avatar
1 vote
3 answers
3k views

In Ubuntu, how do I change the home path of Jenkins using the CLI?

In the Jenkins web interface, under Home directory (Dashboard -> Mange Jenkins -> Configure System), the help section says the following: "By default, Jenkins stores all of its data in ...
Omar Shazly's user avatar
1 vote
2 answers
7k views

How to connect from Docker container to the host?

My problem is that im trying to connect to a Docker host(Im running on Ubuntu) from a container. Ive tried several solutions including adding extra_hosts: host.docker.internal:host-gateway, but still ...
Joel's user avatar
  • 23
2 votes
1 answer
3k views

How come my hostname isn't set to the FQDN with cloud-init when using `prefer_fqdn_over_hostname`?

prefer_fqdn_over_hostname is documented as, If both fqdn and hostname are set, it is distro dependent whether hostname or fqdn is used, unless the prefer_fqdn_over_hostname option is true and fqdn is ...
Evan Carroll's user avatar
  • 2,161
0 votes
2 answers
539 views

How to create a container from an image

I have this following image: REPOSITORY TAG IMAGE ID CREATED SIZE nvcr.io/nvidia/pytorch 18.04-py3 c3555fec4fe6 3 years ago 5.9GB The goal is to use Ubuntu ...
Levent Ozbek's user avatar
-1 votes
1 answer
380 views

Can't run apt-get update in an Ubuntu 16.04 docker container

Everytime I run apt-get update -y in my Ubuntu 16.04 docker container, I get the following error: Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://archive.ubuntu.com/...
Levent Ozbek's user avatar
2 votes
1 answer
67 views

Docker refuses to execute commands or start containers with Ubuntu 20 image on Ubuntu 21 host, but works on Ubuntu 20 host

So I've pulled the amd64/ubuntu:latest image, which is an Ubuntu 20 image for docker and customized it a bit. Not much - zsh, vim, locales and openssh-server compiled from source (because the package ...
TheProtagonist's user avatar
1 vote
1 answer
1k views

How to create an Ubuntu image for 16.04

I am just slowly getting into Docker. I want to create an Ubuntu 16.04 image. I know that docker run -it ubuntu creates an ubuntu image but when I do that, I get 20.04
Levent Ozbek's user avatar
0 votes
0 answers
15 views

Tooling to allow server apps to checkout passwords (database, email provider, etc) on multiple servers?

I'm looking for suggestions on the right kind of tools I can use to improve the security and ease of use for managing passwords for my multi-server apps. I have a couple of ubuntu-based servers ...
Geuis's user avatar
  • 109
0 votes
1 answer
549 views

Where is located mysqldump log file on Linux/Ubuntu

I am neither a DB administrator, nor a DevOps but I need to migrate a very large table (~500M rows) from one MySQL schema to another. For doing so, I use mysqldumpbackup tool. Also, since the DB is an ...
Armine's user avatar
  • 71
0 votes
1 answer
142 views

Error: error loading plugins: loading plugin /data/ipfs/plugins/go-ds-s3.so: not built with cgo support

After cloning this repo run make build (getting as output s3plugin.so) run make install make the appropriate changes in both /data/ipfs/config "Datastore": { "BloomFilterSize"...
Tiago Peres's user avatar
0 votes
2 answers
634 views

Azure Pipeline Ubuntu 20.04 agent not picking up jobs

I took over admin of our dev environment, found out our Azure Pipelines Build Agent is running on the computer of an employee that quit, under his name. Trying to get a pipeline running on an Unbuntu ...
mmeasor's user avatar
  • 101
0 votes
1 answer
2k views

How to assign static IP to Kubernetes cluster?

Is there any way to assign static IP to Kubernetes cluster, in which any user can able to access its application over static IP only. for an example, I have set up a cluster over 192.168.0.131 (master)...
Bhargav Lalaji's user avatar
2 votes
1 answer
455 views

Using ansible to update remote Ubuntu servers that have no external internet access

I am quite new to Ansible, and have to been able to use it to install packages on 80 remote Ubuntu servers that have no external internet access. Is it possible to use Ansible to update/patch these ...
tango91a's user avatar
0 votes
2 answers
451 views

Reaching a Docker environment running in VMware from LAN

Here is my setup: I have a Ubuntu 20.04.2 LTS machine running in VMware (vSphere client). On this machine, I have a local Drupal website running in Docker using Wodby Docker4Drupal https://github.com/...
MrUpsidown's user avatar
1 vote
1 answer
49 views

Ansible hosts group reference does not work

I'm trying for hours already to run a docker installation on a specific group of hosts. This is my hosts.yml all: hosts: 01-dev: ansible_host: <IP1> 02-dev: ansible_host: &...
dfsg76's user avatar
  • 207
0 votes
1 answer
707 views

Getting a 502 Bad Server Request on Nginx [closed]

I'm trying run the frontend (react) and a backend (nodejs, express) from a same ubuntu 20.4` machine but for some reason my nginx is not mapping correctly. I don't know if I have a typo somewhere or ...
intercoder's user avatar
0 votes
2 answers
2k views

How to copy HTML files to include into nginx?

How do I copy an index.html file into nginx? root@mordor:/home/nicholas/docker/nginx# root@mordor:/home/nicholas/docker/nginx# ll total 12 drwxrwxr-x 2 nicholas nicholas 4096 Nov 13 16:18 ./ drwxrwxr-...
Nicholas Saunders's user avatar
0 votes
2 answers
4k views

Can I upgrade a docker image/container from buntu 18.04 to ubuntu 20.04?

I have a host ubuntu 20.04 running my software on docker with a container derivated from ubuntu 18.04. I would like to use ubuntu 20.04 for several reasons (like the better software on 20.04). If I ...
Andrea Giaime Bodei's user avatar
0 votes
0 answers
41 views

Docker failing while adding Ubuntu Image

I in the process of dockerizing an angular 9 application. My plan is to build the Docker from "scratch" then add the Ubuntu Bionic followed by Nginx followed by Angular and finally the theme ...
sridhar pandurangiah's user avatar
3 votes
1 answer
2k views

Kibana slow performance optimization

I have a Kibana page which takes about 7-10 seconds to load. Benchmarking same page shows ~1s to complete the request $ ab -n 10 "http://kibana/app/discover#/view/15a67850-6921-11ea-8308-...
Most Wanted's user avatar
1 vote
1 answer
1k views

docker build fails on one machine but succeeds on another

On my own machine (Windows 10, Docker Desktop 2.1.0.3) the build succeeds and runs. On another machine (Ubuntu 18.04, docker CE 19.03.13) the build fails with the error shown. Why does the build work ...
Craig's user avatar
  • 151
6 votes
1 answer
24k views

ansible error: skipping: no hosts matched

I've tried a few variations on running ansible locally as a test case: nicholas $ nicholas $ ls ansible.cfg ansible.cfg.orig first_playbook.yml inventory.txt playbook.yml nicholas $ nicholas $ ...
Nicholas Saunders's user avatar
0 votes
3 answers
179 views

Docker container host machine communication

Hi i’m trying to communicate with mongodb in the host from a flask container… So using “docker.host.internal” on the URI didn’t work (host machine is Ubuntu) Any suggestions ?? To solve this
user23619's user avatar
0 votes
1 answer
506 views

Combining Two Containers

I'm working on a Windows laptop and running Docker for Windows on it. I want to run an Ubuntu container with a specific version and a MySQL server on it. So the question is, do I have to download ...
user19215's user avatar
  • 101
0 votes
1 answer
36 views

WIndows or Ubuntu server when developing on windows? [closed]

I am developing a MEAN app a windows laptop. Should I use Ubuntu or windows server on my cloud provider? Are there downsides of choosing one over the other?
YulePale's user avatar
  • 115
1 vote
1 answer
29 views

Linking nodes in a cluster to run a single instance of a docker container

In this cluster, there are 11 identical nodes, each with 16gb of memory. So far, I've been able to connect each node of the cluster to a docker swarm hosted on the control node. My end goal is to run ...
AJ_4real's user avatar
3 votes
1 answer
158 views

Porting a docker container to a different Linux host OS

I'm new to Docker. I have looked at many tutorials, however, this is still not clear to me : For example, If I create a docker image on a system which is using Ubuntu as the host OS. Can I then later ...
Engineer999's user avatar
3 votes
0 answers
51 views

how to protect proxy credentials of a local docker daemon run by systemd from viewing by ordinary users?

i have my local docker CLI binary connected with a docker daemon on the LAN (or better say on the same machine). for certain duties this daemon needs to connect to the internet via a company firewall/...
Alexander Stohr's user avatar
1 vote
3 answers
2k views

Can I run a Ubuntu 16 Docker image on a Ubuntu 18 host? Will I need to install hardware drivers already available to the host?

We have some Docker images built from Ubuntu 16.04 base image, and we've been running them on hosts running Ubuntu 16.04; these hosts are laptop computers from different makes. However, we have had ...
aguadopd's user avatar
  • 113
-1 votes
1 answer
178 views

Can't ping client on ansible ,

$ ansible 192.168.254.150 -m ping [WARNING]: Unable to parse /etc/ansible/hosts enable callback plugins as an inventory source [WARNING]: Unable to parse /etc/ansible/they can output to stdout but ...
Tazhar Masood's user avatar