Categories
Development Docker System & Network

Docker compose restart policy

I know about the docker compose restart policy, i have Alfresco 6.2 image i want to make it start automatically when server reboot, but i dont know when to add the lines in the docker-compose.yml this is the file: # This docker-compose file will spin up an ACS cluster on a local host or on […]

Categories
Development Docker Linux Ubuntu

Unable to install openssh-server on ubuntu 16.04 in Docker

I have a Docker container with a brand new install of Ubuntu 16.04, I’m unable to install openssh-server successfully. I’m able to install openssh-client successfully but when attempting apt-get install -y –fix-missing openssh-server I get the following error… E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/ncurses-term_6.0+20160213-1ubuntu1_all.deb Bad header line Bad header data [IP: 91.189.88.174 80] I’ve tried apt-get […]

Categories
Development Docker System & Network

Azure aks cluster and docker – how to store persistent data

I have an application that is run as a service in Azure aks (kubernetes) cluster. This application pulls data from a database and puts it in a file. As I understand I first need to create a docker image and push it to Azure aks registry. Once this is done I need to create a […]

Categories
Development Docker

Why Docker container always exited after start?

I’m a new in Docker. Tried to start docker container with simple java code. I sow the the printing Hello-World whats mean that my code is executed but the container always exited. This is my Dockerfile: FROM nicb/alpine-openjdk8-jre COPY HelloDockerTest.jar / CMD java -jar HelloDockerTest.jar FROM nicb/alpine-openjdk8-jre – this is image from remote repository The […]

Categories
Development Docker

Running PhpStorm with Docker on Win 8.1: Client sent an HTTP request to an HTTPS server

I have just started with docker and set up Docker Toolbox on Win 8.1. I have tried it out, created some Cotainers and played with those a bit. Works fine. Now I want to use PhpStorm to create a new Project that runs in Docker. Therefore I created a new project and created a very […]

Categories
Development Docker

why does docker ps shows empty containers

I start with docker run rasa/rasa as tutorials from Youtube suggest. but when I do docker ps it shows empty list of containers. I thought run command should start container processing. Why is doesnt start? What am I doing wrong? Also docker ps -a shows me a giant list of exited containers, but I didn’t […]

Categories
Development Docker System & Network

Docker compose restart policy

I know about the docker compose restart policy, i have Alfresco 6.2 image i want to make it start automatically when server reboot, but i dont know when to add the lines in the docker-compose.yml this is the file: # This docker-compose file will spin up an ACS cluster on a local host or on […]

Categories
Development Docker

Error message when creating docker container

I’m trying to create a new docker container using the following command: docker run -d -it –name compsci -v /c/Users/garre/Documents/CPSC_Courses:/homechapmanfse/computing-resources:cs_base However, it gives me this error message: “docker run” requires at least 1 argument. See ‘docker run –help’. Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…] Run a command in a new container How would I […]

Categories
Development Docker Linux Ubuntu

Ubuntu docker run always showing interactive shell

I’m currently following the docker docs, the installation was successful when i check docker –version But when i try to do sudo docker run hello-world my terminal only showing the text Interactive shell after i typed my password. Why is this happening ? Im a newbie to ubuntu

Categories
Development Docker System & Network

Docker Swarm’s overlay network DNS consistently resolving hostnames to an IP address one number lower than a container’s actual IP

I’m having a very odd reproducible issue with Docker Swarm. I’m attempting to deploy a Dgraph server cluster via Docker Swarm across four LXD containers. For context, Dgraph Zero is the control server and each Dgraph Alpha server does the lifting and must connect to a Zero server on launch. Ratel is just a web […]