Reddit » Docker
0 FOLLOWERS
Discussions and popular articles about Docker from the Reddit Community. Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application.
Reddit » Docker
15m ago
Though I have been working with docker for a year, I'm kinda new to the actual concepts of it and devops in whole.
Assume that I have some services to be deployed, say A B and C, each having a different source (sA, sB and sC) and a set of dependencies (dA, dB and dC). I'm figuring how I should deploy them:
For building a base image, should I install all dA, dB and dC, or have 3 base images, each having 1 set of dependencies required by that service?
Should I deploy my container with source code + dependencies in each service, or just the executable file(s) and runtime dependencies of it ..read more
Reddit » Docker
7h ago
I am currently using er with a Vite application with GitHub submodules, but when I try to launch the container, I get the webpage is not found.
My docker looks like:
FROM node:alpine
WORKDIR /app COPY package.json . RUN yarn
copy all files
COPY . . CMD ["yarn", "start", "--debug"]
My package.json looks like this
{
"name": "website", "private": true, "version": "0.0.0", "type": "module", "scripts": { "start": "vite", "dev": "git submodule update --remote && vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warning ..read more
Reddit » Docker
17h ago
Hi, I'm trying to deploy a django application on heroku. I use docker and poetry. I have a problem because in the dockerfile I install poetry and install dependencies using poetry. Locally it works fine, but when I want to deploy on heroku, the dependencies are not installed. Only putting code like:
RUN pip install -r requirements.txt
installs the dependencies on heroku (I created the requirements.txt file using poetry export). Should I have two different Dockerfiles for dev and prod, where I will use poetry in one and pip install requirements in the other ? Or should I use multistaged Doc ..read more
Reddit » Docker
18h ago
I want the server to use the metadata tags of my flac files. I want the server to use the embedded albumart, not ones from the internet. Support for tagged lyrics. Support for classical music tags (piece, movent) Support for upnp or jukebox mode
submitted by /u/Outside_Fill_7994
[visit reddit] [comments ..read more
Reddit » Docker
19h ago
Pretty much the title. Is there a way to mount a docker volume to the host? Mostly just for convenience of grabbing files quickly.
submitted by /u/WhyIsSocialMedia
[visit reddit] [comments ..read more
Reddit » Docker
20h ago
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O
99114ba389be container-1 1.21% 319.7MiB / 1.929GiB 16.18% 11.2MB / 539kB 397kB / 3.53MB
submitted by /u/Gold_Detective794
[visit reddit] [comments ..read more
Reddit » Docker
22h ago
I’m working on a research paper where in I’m texting the performance penalties in nested docker containers for HPC and also comparing bare metal performance with the docker and nested docker performance. I’m looking for HPC tasks that I can test this system with. If y’all know any HPC programs/projects which are open source or if u r willing to lemme run your projects/programs as a test, pls write it down in the comments Here’s a list of the tasks im planning to run so far. Yes, not all of these are “true HPC” but would still give good information about the penalties and have been chosen dive ..read more
Reddit » Docker
1d ago
Hi!
i'm just trying Docker and cant seem to find a way to make Deluge download files directly to a mnt drive folder.
i defined
/mnt/Alpha/Plex/Movies:/Downloads
As my downloads folder in the docker-compose.yml file (directory which is also shared with plex).
Then, i ran Deluge with no problem, but it instantly downloaded directly to the default /downloads folder, which is on the OS hard drive.
I changed the download path in deluge exactly as defined in the compose file, but it wont download and just show "error" in "disk space left"
Then i tried
sudo chmod -R 777 /mnt/Alpha/Plex/Movies ..read more
Reddit » Docker
1d ago
https://www.juls07.dev/blog/magic-of-docker-compose
submitted by /u/Juls0730
[visit reddit] [comments ..read more
Reddit » Docker
1d ago
I am almost sure it is not possible, but I'm hoping at add some variables that will vary based on the host who runs the container, however I also want it to be able to share a common execution command (other than the container name) as a related container that doesn't need these variables. Thus I want to avoiding passing --env-file or requiring the container to be rebuilt for each user (in practice these containers will be converted to .sif and run in singularity by users on a system where Docker is not available).
submitted by /u/BiologyIsHot
[visit reddit] [comments ..read more