Skip to content
Advertisement

Tag: docker

Failed to fetch https://download.docker.com/linux/ubuntu/dists/serena/stable/binary-amd64/Packages 404 Not Found in Linux Mint

When I do sudo apt-get update I get the following error: I know there is a similar question here but still I am not able to solve the problem. I am running on Distributor ID: LinuxMint Description: Linux Mint 18.1 Serena Release: 18.1 and the file /etc/apt/sources.list which seems to be important contains the line #deb cdrom:[Linux Mint 18.1 _Serena_

Docker multi serivces in a single container

is it a good practice to create one dockerfile with all needed container , ex : Answer This is actually a bad idea. The principle of containers is one service per one container. A container is really just a process. You might run 50 different containers on a machine, with very little overhead, and still gain the advantages of isolation

Docker login x509: certificate signed by unknown authority

I am running docker registry as container in Redhat Linux 7.5 with Docker 18.09.3-3 version. if configured with self-sign certificate. container started successfully. it works with curl with-out any error. but giving error for docker login command. curl command works login command how to resolve this error message? Thanks Answer My hostname set with upper case letter. Certificate was generated

How to install R library “ggpubr” in a Docker image?

I tried to install the R library ggpubr in a docker image. I pulled the r-base:3.6.3 and the following is my Dockerfile: and here is my Rinstall_packages.R file: each time I got the output like this: I tried to install the library in batch mode: It works. However, after I exited the bash, I still can not use the library.

Why docker exec command ingore bashrc inside docker container?

So. I have docker image with ubuntu (also creared container from this image). On my docker container I see this output: On my container on file ~/.bashrc (it is /root/.bashrc) I’m export some variables: When I try to execute command on docker container using “docker exec” I don’t see my variables from .bashrc file Why I don’t see my variables?

Can substring expansion be used in dash shell or bourne shell?

I’m converting an app to a new image, and the existing commands use substring expansion to set the artifact version like so: mvn clean versions:set -DnewVersion=”0.1.$VCSINFO.I${INFO:0:6}.M$OTHER_INFO”. I’m using a ubuntu image that defaults to /bin/sh, and I am unable to figure out how to either do something equivalent in bourne shell, or switch shells to run the command. I know

Unable to bind mount a Windows folder in a Linux SQL Server docker image

I’m trying to run the docker image mcr.microsoft.com/mssql/server:2019-latest on a windows host. When running this command line, everything works fine: When I try to bind mount the /var/opt/mssql/data folder to access it’s content from my windows host, I get the following error: It looks like this issue: https://support.microsoft.com/en-us/help/4212960/fix-sql-server-2017-won-t-start-with-linux-container-image-on-docker Which is supposed to be fixed. But I tried with several version

Mount seeded volume on linux host

I’d like to create a Database image and seed it with some initial data. This seems to work fine, since I’m able to create a container with a volume managed by docker. However, when I try to mount the volume to a directory on my linux host machine, it is created empty instead of seeded. After several hours of trying

how to enable support of ogonek characters in linux

Characters such as “ęą” are not recognized on my docker container, they are just omitted. I use phantom js to convert an HTML page into thumbnail. Html page contains characters like “ęą” on the page. So while generating thumbnail from it Ogonek characters [ęą] are ignored. I am sure this mus be happening due to Ogonek font not installed on

How to run jar files sequentially from a shell script

I am trying to run two java application one after other in my docker container. In my dockerfile i have specified invoker.sh as the entry point. ENTRYPOINT [“sh”, “/opt/invoker.sh”] Then i use this script to run two jar files. but this does not work. It gives Error: Unable to access jarfile javaimpl-loader.jar and only the service.jar is executed. When i

Advertisement