Questions tagged [ubuntu]

46 questions
6
votes
1 answer

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 $ cat ansible.cfg [defaults] transport =…
Nicholas Saunders
  • 375
  • 3
  • 12
  • 22
4
votes
1 answer

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 running in a jiffy on my new Ubuntu Server (22.04.4…
3
votes
1 answer

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-058e42e28132" and the exact same query to elastic takes about…
Most Wanted
  • 691
  • 8
  • 18
3
votes
1 answer

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 port and use this same docker image on a…
Engineer999
  • 131
  • 2
3
votes
0 answers

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/proxy system. (the system is based upon Ubuntu…
2
votes
1 answer

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 followed many whitepapers, directions, and videos,…
marshit
  • 31
  • 4
2
votes
1 answer

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 set it will force the use of FQDN in all…
Evan Carroll
  • 2,921
  • 6
  • 37
  • 85
2
votes
1 answer

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 wants me to download 100Mb of some stuff, whereas…
2
votes
1 answer

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 Ubuntu servers that have no external internet…
tango91a
  • 23
  • 2
1
vote
1 answer

Azure virtual machine not persisting state after reboot

I'm provisioning a VM on Azure using this terraform code: resource "azurerm_linux_virtual_machine" "vm" { name = "vm" location = azurerm_resource_group.rg.location resource_group_name …
Marek M.
  • 111
  • 1
1
vote
1 answer

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.internal:host-gateway" And, I have my mongodb URI as…
1
vote
2 answers

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 systemctl daemon-reload sudo systemctl start…
drew
  • 11
  • 2
1
vote
2 answers

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 creates its own database. When I run less than 16 tests at the…
Bizhan
  • 111
  • 3
1
vote
1 answer

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: - name: installing curl …
Muhammed Adil
  • 21
  • 1
  • 3
1
vote
3 answers

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 this directory on the file system", referring to…
Omar Shazly
  • 85
  • 1
  • 6
1
2 3 4