I am trying to run following command on Linux Docker container but I am getting the following error: The file content I am running it for: I am doing it as suggested at – https://solveme.wordpress.com/2017/07/24/java-awt-awterror-assistive-technology-not-found-org-gnome-accessibility-atkwrapper-when-running-jasper-reports/ Can someone help me with it? Answer Just quote the command so & does not have an special meaning for Bash! What is exactly happening
Tag: docker
Containerized spring boot application with oracle database resetting connection
I am having a problem with a containerized spring boot application using oracle database. I successfully build my image but when I run it using docker the application gets stuck on getting a connection pool. The application runs with a connection reset exception and if I try to connect on it I get another connection reset exception, but if I
Same Docker image forwards X11 one host but not on another
I have created a simple Docker image which contains SSH + xeyes. I run that container, connect to the container via SSH using X11 Forwarding and want to be able to display xeyes. I have built and run the Docker container on host A. When I connect to the container, it does not work Error: Can’t open display: I have
docker-compose up very slow but docker-compose run on linux very fast
As the title said. Docker-Compose is very slow while running a container. It keeps saying it’s trying to attach to… when i run “docker-compose up”. It takes about 10 minutes before the python script is running. On the other hand.. If I start “docker-compose run docker-build” the python script runs in a second. If i use “docker run –rm -it
How to run docker rmi $(docker images -a -q) in Jenkins as part of ssh script
I am building a Jenkins jobs to build docker container on AWS EC2 instance and this is a sample of a Jenkins script that is giving errors: When I build this job in Jenkins, it fails with following error on output console : “docker stop” requires at least 1 argument(s). See ‘docker stop –help’. Usage: docker stop [OPTIONS] CONTAINER [CONTAINER…]
Persisting content across docker restart within an Azure Web App
I’m trying to run a ghost docker image on Azure within a Linux Docker container. This is incredibly easy to get up and running using a custom Docker image for Azure Web App on Linux and pointing it at the official docker hub image for ghost. Unfortunately the official docker image stores all data on the /var/lib/ghost path which isn’t
Set docker image username at container creation time?
I have an OpenSuse 42.3 docker image that I’ve configured to run a code. The image has a single user(other than root) called “myuser” that I create during the initial Image generation via the Dockerfile. I have three script files that generate a container from the image based on what operating system a user is on. Question: Can the username
Can’t create Docker volume using absolute path on Linux
I’m getting the following error message when trying to run a Docker container with which I want to share some data via a directory (I added the emphasis): ##[error]/usr/bin/docker: Error response from daemon: create -v /opt/vsts/work/1/s/coverage: “-v /opt/vsts/work/1/s/coverage” includes invalid characters for a local volume name, only “[a-zA-Z0-9][a-zA-Z0-9_.-]” are allowed. If you intended to pass a host directory, use absolute
how to redirect ps command in linux to look into other folder than /proc
I am using docker containers and I have mounted host /proc to container /host/proc. Now I want ps command inside docker container to look for processes into /host/proc instead of /proc. or how can I right similar utility to ps Answer the /proc path is hardcoded in the source tree of the /bin/ps binary file. Thus, you need to recompile
“usermod: UID ‘0’ already exists” why?
As part of my Docker image I have the following ENTRYPOINT script: The image compiles successfully. When I try to run the container by running the following command docker run -it temp bash I got the following output: Why my UID is 0? I can’t find where is my error here, any help is more than welcome. Update: Changing this