Questions tagged [ubuntu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
21k 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
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
3 votes
1 answer
138 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
46 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
2 votes
1 answer
2k 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
  • 1,794
2 votes
1 answer
46 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
2 votes
1 answer
364 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
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 vote
3 answers
2k 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
1 answer
1k 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
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
1 vote
1 answer
27 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
1 vote
0 answers
118 views

XRDP/VNC not working in Ubuntu 22 container

I'm trying to create a Dockerfile based on Ubuntu 22.10 that has some way of remote access (XRDP/VNC/etc.) I basically installed xfce4 along with xrdp, according to guides on installing it on linux ...
Orel's user avatar
  • 11
1 vote
0 answers
76 views

EC2 after reboot: unable to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable [closed]

My Ubuntu EC2 worked fine and then I rebooted it. Now I get the following error on trying pretty much anything: sudo: unable to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable where ...
user984003's user avatar
1 vote
0 answers
66 views

Best Practice for Managing Ephemeral Storage on Bare Metal Kubernetes Instance?

Host OS: Ubuntu 20.04 Kubernetes: 1.23 RAM: 64g HDD: 3.7Tb Containers are failing and rescheduling due to low ephemeral storage. Ex. The node was low on resource: ephemeral-storage. Container <...
bobandweave's user avatar
1 vote
0 answers
13 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
  • 111
1 vote
0 answers
36 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
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
  • 141
0 votes
2 answers
465 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 ...
Onur-Andros Ozbek's user avatar
0 votes
1 answer
461 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
Onur-Andros Ozbek's user avatar
0 votes
1 answer
433 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
2 answers
520 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
1k 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
0 votes
2 answers
401 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
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
1 answer
34 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
0 votes
1 answer
21 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
65 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
13 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
25 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
7 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
0 answers
212 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
118 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
  • 11
0 votes
0 answers
36 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
2k 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
  • 1,794
0 votes
0 answers
110 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
0 votes
0 answers
78 views

Change memlock limit in a Docker container; is it possible?

I'm running a container from vast.ai, Ubuntu 20.04 LTS. I'd like to change memlock limit in the Docker container. Is it possible? What I've already tried: Changing the memlock limits in /etc/security/...
Vinicius Gonçalves Melo's user avatar
0 votes
1 answer
201 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 ...
user16411104's user avatar
0 votes
0 answers
51 views

How to use "microk8s kubectl" within a "skaffold.yaml" file?

I have a skaffold.yamlfile like below: apiVersion: skaffold/v2alpha3 kind: Config deploy: mk: manifests: - ./infra/k8s/* build: local: push: false artifacts: - image: ...
best_of_man's user avatar
0 votes
2 answers
6k 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
  • 13
0 votes
1 answer
343 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
133 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 Martins Peres's user avatar
0 votes
1 answer
569 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
3 answers
174 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
-1 votes
1 answer
168 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
-1 votes
1 answer
342 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/...
Onur-Andros Ozbek's user avatar