containers

Docker container not hot-reloading Angular

社会主义新天地 提交于 2020-05-23 11:45:19
问题 I'm configuring a dockerized Angular app but when i modify something, the page does not refresh automatically as it does on my local setup. Based on this: Docker container doesn't reload Angular app I should expose port 49153 but this does not work. Here's my configuration: Dockerfile FROM node:14-slim RUN npm install @angular/cli@latest -g RUN mkdir -p /home/boilerplate WORKDIR /home/boilerplate EXPOSE 4200 49153 CMD ng serve --port 4200 --poll 1 docker-compose.yaml version: "3" services:

Docker container not hot-reloading Angular

a 夏天 提交于 2020-05-23 11:44:05
问题 I'm configuring a dockerized Angular app but when i modify something, the page does not refresh automatically as it does on my local setup. Based on this: Docker container doesn't reload Angular app I should expose port 49153 but this does not work. Here's my configuration: Dockerfile FROM node:14-slim RUN npm install @angular/cli@latest -g RUN mkdir -p /home/boilerplate WORKDIR /home/boilerplate EXPOSE 4200 49153 CMD ng serve --port 4200 --poll 1 docker-compose.yaml version: "3" services:

Can't resolve URL in Traefik Getting Error 404

老子叫甜甜 提交于 2020-05-17 10:21:30
问题 The problem I am facing is somewhat known to me but still, I wanted to understand the problem in my implementation. I have a Traefik container and a service container. The service container has certain routes that serves the pages. In order to pass the request from Traefik to the service/application container,I have attached a label to my container. The label has a path as the one in my application so that Traefik can redirect the request to backend service and finally my service can serve

Problem in running code-server in https secure

…衆ロ難τιáo~ 提交于 2020-05-17 06:23:06
问题 If we run docker run -d -p 8080:8080 sanjayme/vscode-dotnet-core --auth none --cert still we are facing not secure connection. How to solve this? Even we tried something similar to docker \ -v /path/to/certs.crt:/home/coder/cert.crt \ -v /path/to/cert-key.key:/home/coder/cert.key \ -p 8080:8080 \ run codercom/code-server:v2 \ --cert /home/coder/cert.crt --cert-key /home/coder/cert.key the http url is working, but if we browse https dns mapped url it's throwing an error. Check the attachment

installed the docker from binaries + docker startup

非 Y 不嫁゛ 提交于 2020-05-17 05:56:07
问题 we installed the docker from binaries as the following ( according to https://docs.docker.com/engine/install/binaries/ ) wget https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz --2020-05-06 20:39:22-- https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz Resolving download.docker.com (download.docker.com)... 13.225.249.16, 13.225.249.45, 13.225.249.106, ... Connecting to download.docker.com (download.docker.com)|13.225.249.16|:443... connected.

Clone github repo to docker container while container creation

杀马特。学长 韩版系。学妹 提交于 2020-05-17 05:45:06
问题 I need to clone code while creating docker container not while building image. How can we achieve this or How can we run commands while creating container. I have used CMD git clone "URL" in docker file but is giving error "Option 'c' is unknown. Ignoring" while running container. 来源: https://stackoverflow.com/questions/61496659/clone-github-repo-to-docker-container-while-container-creation

Mount filesystem after clone with CLONE_NEWNS flag

泪湿孤枕 提交于 2020-05-12 01:42:11
问题 I'm trying to implement the following scenario: clone() main process with CLONE_NEWNS flag (it means new mount namespace) mount() new filesystem in child process child process finished and all created in this process filesystems are unmounted But it doesn't work as I expected and I still see mounted filesystems in main process. What am I doing wrong? Sources are here https://github.com/dmitrievanthony/sprat/blob/master/src/container.c#L47 System is default AWS Ubuntu, ubuntu@ip-172-31-31-112:

docker and image size limit

非 Y 不嫁゛ 提交于 2020-05-11 05:22:22
问题 I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit which is set to 10GB by default. A bit of background informations. I'm building a docker container : https://bitbucket.org/efestolab/docker-buildgaffer Which download and builds a consistent set of libraries on top of a centos image. (takes a horrible amount of time and space to build) The problem is that every single time I try to build

docker and image size limit

大憨熊 提交于 2020-05-11 05:20:06
问题 I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit which is set to 10GB by default. A bit of background informations. I'm building a docker container : https://bitbucket.org/efestolab/docker-buildgaffer Which download and builds a consistent set of libraries on top of a centos image. (takes a horrible amount of time and space to build) The problem is that every single time I try to build

docker and image size limit

醉酒当歌 提交于 2020-05-11 05:18:37
问题 I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit which is set to 10GB by default. A bit of background informations. I'm building a docker container : https://bitbucket.org/efestolab/docker-buildgaffer Which download and builds a consistent set of libraries on top of a centos image. (takes a horrible amount of time and space to build) The problem is that every single time I try to build