Skip to main content
Code Review

Questions tagged [docker]

Use this tag for Docker container specifications (Dockerfiles) or for code that interacts with the Docker server of a system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Laravel Wallet Service Backend

I’ve built a backend-only wallet service using Laravel 8, and it’s fully containerized with Docker. The project handles two user roles (Players and Backoffice Agents) and provides JWT-based ...
5 votes
0 answers
82 views

Correct abstractions/organisation of a NodeJS GraphQL API

I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
2 votes
0 answers
83 views

Performance of a dockerfile that uses vcpkg, c++, rust, swift and npm

I have the following dockerfile, which builds a Backend and Frontend for a large project. The project uses the following technologies: C++ (using vcpkg as a package manager <-- very slow) Swift (...
user avatar
user289696
4 votes
1 answer
61 views

sqlalchemy and alembic integration in FastAPI

I am building a fastAPI + sqlalchemy + alembic + docker-compose reusable template. Full source code: https://github.com/mascai/fastapi_template (commit 77ce7f2) I would appreciate pull-requests =) The ...
5 votes
2 answers
133 views

Bash Script for Docker Image Cleanup

I’ve been working on a bash script to clean up old Docker images while keeping the latest tag for each repository and skipping images currently in use. I’m sharing the script below and would ...
Ilgar's user avatar
  • 51
2 votes
1 answer
155 views

Update a docker compose service properly

I'm currently running an executable in Docker that has been mounted as a Docker volume in the foreground. The executable (or the service) continuously generates console output and can be interrupted ...
1 vote
0 answers
153 views

How to reduce the build time/cache Docker image layer in subsequent GitHub Actions runs?

I have a Dockerfile with ubuntu:22.04 as a base image and a manual Python installation(specific version i.e., 3.11.1) layer which takes a long time. How to cache ...
5 votes
2 answers
2k views

How to reduce the build time of Docker image layer in GitHub Actions?

I have a Dockerfile with ubuntu:22.04 as a base image and a manual Python installation(specific version i.e., 3.11.1) layer which takes a long time. Approach 1: ...
4 votes
1 answer
69 views

Debian and Docker compose upgrade script, 2nd version

As a continuation of this question, I would like a second review from you. Here is the updated sh script: ...
3 votes
1 answer
171 views

Debian and Docker compose upgrade script

I'm running Debian 12 and Docker compose containers. Once a day, crontab should start the script, but the script should also be called manually. Could you rate my upgrade script file or recommend an ...
5 votes
2 answers
437 views

Parsing gateway ip from `/proc/net/route` in a docker container

In try to replicate the outcome of the following command sequence using php: netstat -rn | grep "^0.0.0.0 " | cut -d " " -f10 I did this using ...
4 votes
2 answers
7k views

Install specific version of Python in docker

Downloading specific version like 3.11.1 from https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tgz and installing ...
3 votes
0 answers
85 views

CLI app to spin up a Docker cluster

This is my first Go project. I've written a CLI app to provision a database cluster on docker containers. Since it's a distributed database, you can configure per-node services. For example: to ...
user219820's user avatar
7 votes
1 answer
2k views

Nginx Docker image with built from source with modules

I needed Nginx Docker image with additional modules (Lua and headers more) and Lua Prometheus lib. I did not want to use Openresty for that because its Alpine docker image weighs ~110MB, when Nginx ...
murtll's user avatar
  • 73
2 votes
0 answers
73 views

a C/Python X server interface extension package

The project is named winlin; it's a portmanteau of the words window and Linux. I'm working on a CPython extension to interact with the X server and manipulate windows. I don't have a ton of ...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /