I have created a kubernetes job for backing up my Postgres database. It runs and completes it’s task in the first installation. I want to run this job when the user clicked back up button. I could not imagine how the job will run with user’s interactions. Can anyone help me? Thanks… Source: Docker..
The container’s networking is using default bridge pattern, and IP address is 172.17.0.2, gateway address is 172.17.0.1. The container’s host A is centos8 installed in a virtual box. It address is 192.168.31.189, and can reachable the 172.17.0.2. Another host B which on the same network as host A. It’s IP address 192.168.31.184 which can reachable ..
Can we assign a docker host port to default port 80 of the docker container if the container is in the running state? Source: Docker..
I am building software for an embedded device (Jetson TX2) with a low storage capacity, so I’d like to use SFTP or the like to host all intermediate data produced by docker on another device connected via LAN. I am trying to edit the daemon.json file’s "data-root" filed to be a sshfs mounted directory. Everything ..
I’m having a python program that stores the output file in local. Now my code is run inside docker container I want to move the generated output file (like output.txt) to my local (outside the docker container) I know there is a command which transfers files from docker to local: docker cp <containerId>:/file/path/within/container /host/path/target #I ..
I want to program my own Api gateway/broker which fetches incoming API requests from different users, requests them as the "active user" to my service in the backend and redirect the specific responses to the associated client. The broker acts as an asynchronous controller. Poorly I’m kinda clueless how to design the input/output of my ..
Here is my situation： First，I run a MySQL container(IP:172.17.0.2) on centOS; Then I run a Nacos contanier with specified datasource(MySQL above) on the same host, but i didn’t use the ip of the MySQL container, instead I used the ip of the bridge Gateway(172.17.0.1)(two containers both link to the default bridge). What surprised me was ..
For example, if I run a container normally with docker run -it nginx. Is there any way that I can see which CPU core my container is running on? If my host machine has 4 cores, is there any way that I can know which of these 4 cores my container is using? Source: Docker ..
I would like to create a new docker network per container, the limit is 31 concurrent docker networks on a single host due to limited ip addresses. Is there a way/clever hack to bring that number into the thousands of concurrent docker networks on a single host? I would like to have each container on ..
I need to process multiple files in s3 with k8s, so I’ve created one job on k8s and contains approximately 500 containers, for each container with different envs. However, the job is very slowly and in multiple times it failed. I’m using kubernetes api python to submit job, likes this: def read_path(): files =  ..