Questions tagged [ubuntu]
The ubuntu tag has no usage guidance.
40
questions
0
votes
1
answer
158
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 ...
0
votes
0
answers
55
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 ...
0
votes
0
answers
46
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/...
0
votes
1
answer
114
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 ...
0
votes
0
answers
96
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 ...
1
vote
0
answers
68
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 ...
1
vote
1
answer
738
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:
- ...
0
votes
0
answers
50
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: ...
0
votes
0
answers
45
views
Set up KubeFlow on Windows (with Multipass VM)
I'm trying to set up Kubeflow on a Windows machine for testing. Since native Windows support is nonesxistent, I'm trying to set it up with a multipass VM running Ubuntu. I've been trying multiple ...
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 ...
0
votes
2
answers
5k
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 ...
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 ...
1
vote
0
answers
62
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
419
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 ...
-1
votes
1
answer
319
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
43
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
1
answer
254
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
1
answer
273
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 ...
0
votes
1
answer
126
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
2
answers
468
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
1
answer
946
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
331
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
373
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
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: &...
0
votes
1
answer
511
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
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-...
0
votes
2
answers
3k
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
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 ...
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-...
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 ...
6
votes
1
answer
20k
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
172
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
408
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
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?
1
vote
1
answer
24
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
135
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
43
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
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 ...
-1
votes
1
answer
158
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 ...