Questions tagged [ubuntu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
64 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 ...
1 vote
3 answers
141 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 ...
1 vote
1 answer
200 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 ...
0 votes
1 answer
630 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 ...
-1 votes
1 answer
93 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/...
2 votes
1 answer
24 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 ...
0 votes
0 answers
20 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 <...
0 votes
2 answers
36 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 ...
0 votes
1 answer
12 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
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 ...
0 votes
0 answers
85 views

devices.allow: operation not permitted: unknown

I am trying to use nvidia-container-toolkit to use the CUDA-enabled GPUs and corresponding NVIDIA drivers from the Docker container or to use CUDA inside the container in any other way without ...
0 votes
2 answers
195 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 ...
0 votes
0 answers
61 views

'PHP Fatal error: Uncaught Error: Class "PHPUnit_Framework_TestSuite" not found in xyz.php:3' when running PHPUnit in a docker container

Update The error changed from "Error in bootstrap script: Error: Class "PHPUnit_Framework_TestSuite" not found" to PHP Fatal error: Uncaught Error: Class "...
0 votes
1 answer
61 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"...
0 votes
0 answers
74 views

Install cilium as network plugin for K8s

ITNOA I install K8s control plane node with kubeadm init with custom IP for control plane endpoint address and custom IP for API server address I try to install cilium as network plugin for K8s I run ...
0 votes
1 answer
235 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)...
2 votes
1 answer
180 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 ...
0 votes
2 answers
149 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/...
1 vote
1 answer
41 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: &...
3 votes
1 answer
1k 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-...
0 votes
1 answer
69 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 ...
0 votes
2 answers
542 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-...
0 votes
2 answers
2k 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 ...
1 vote
3 answers
1k 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 ...
1 vote
0 answers
34 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 ...
0 votes
1 answer
436 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 ...
3 votes
1 answer
11k 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 $ ...
0 votes
3 answers
159 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
0 votes
1 answer
299 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 ...
0 votes
1 answer
33 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?
1 vote
1 answer
23 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 ...
3 votes
1 answer
109 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 ...
3 votes
0 answers
26 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/...
-1 votes
1 answer
115 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 ...