TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2269 · 21 nov

Управление Docker контейнерами с помощью docker-py docker-py – это официальная библиотека Python для Docker, предоставляющая API для взаимодействия с Docker Daemon. С её помощью можно автоматизировать процессы создания, запуска, остановки и удаления контейнеров, работы с образами, сетями и томами Docker. import docker # Создание клиента client = docker.from_env() # Запуск контейнера container = client.containers.run("ubuntu:latest", "echo Hello, docker-py!", detach=True) # Получение логов контейнера print(container.logs().decode()) # Остановка и удаление контейнера container.stop() container.remove() В данном примере мы создаем клиента Docker, используя переменные окружения текущей сессии. Затем мы запускаем контейнер из образа ubuntu:latest, выполняем в нем команду echo, выводим логи работы контейнера и в конце останавливаем и удаляем контейнер. Управление образами с помощью docker-py: # Получение списка всех образов images = client.images.list() # Вывод информации о каждом образе for image in images: print(f'ID: {image.id}, Теги: {image.tags}') Для дальнейшего изучения и ознакомления с более продвинутыми возможностями рекомендуется обратиться к официальной документации. #python#docker#dockerpy

Resultados

1,206 posts similares encontrados

Búsqueda global general

Repositorio data science

@repo_science · Post #3964 · 15/01/2024, 19:54

#python#code 🗑 Empty Recycle Bin using Python ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Hashtags

Repositorio data science

@repo_science · Post #3668 · 20/10/2023, 12:18

#Python#script 🤖 PlotAI PlotAI es una herramienta para generar gráficos en Matplotlib. — el usuario envía un marco de datos como entrada; — PlotAI crea un mensaje para LLM, que contiene los primeros cinco registros y genera código Python; - Se ejecuta el código Python devuelto y se muestra el gráfico. pip install plotai 🔗Github ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3667 · 20/10/2023, 12:16

#python#script 📲 Using your mobile as webcam. 🔗opencv-python ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3626 · 01/10/2023, 02:09

#Python#streamlit 😎 Getting Started with Streamlit for Data Science ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3598 · 16/09/2023, 01:08

#Python#Bootcamp 🐍 Python Programming: The Complete Python Bootcamp 2023 Python from Scratch. Learn Data Science and Visualization, Automation, Excel, SQL and Scraping with Python.100% Hands-On 🗣 Andrei Dumitrescu, Crystal Mind Academy 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3405 · 07/07/2023, 16:32

#python#algorithm 🐍 Advanced algorithms Learn every algorithm you would ever need 📆5-2023 ⏳8 hours 🌐En 🔗Link ----- Main channel:@repo_science Coupons: @freecoupons_reposcience -----

OKHK 👀

@iokhk · Post #9580 · 26/04/2026, 08:58

Lightwhale 是一款专为 Docker 容器运行设计的极简 Linux 发行版,宣称轻量高效低占用,适合老旧设备及低配服务器。 即插即用:无需安装,ISO 镜像启动即享完整 Docker 环境 当前仅支持 x86_64 ,暂不支持树莓派(ARM) / M 系列芯片 https://lightwhale.asklandd.dk/ #Docker#HomeLab#Linux#Tool#PVE

The Devs

@thedevs · Post #1930 · 20/07/2021, 14:03

Towards inserting one billion rows in SQLite under a minute. #article#sqlite#python#rust @thedevs https://kutt.it/k1YjwS

APP喵-软件资源共享

@appmew · Post #15796 · 07/01/2026, 02:12

netronome:网络性能监控,服务器监控工具,具备分布式代理、实时指标和精美可视化功能 支持docker部署,仅占用约 35MB 内存 通过一个控制面板监控多台服务器: -CPU、内存、磁盘和温度指标 -实时带宽监控(vnstat) -Tailscale 网络自动发现 -可配置的警报阈值 -通过SSE进行实时数据流传输 -代理程序也是单个二进制文件——部署同样简单。 🏷标签:#源码#服务器监控#站长#Docker#开源项目 ☁链接:点击获取 ⭐频道😮群聊✏投稿🌍中文

Repositorio data science

@repo_science · Post #3145 · 05/05/2023, 14:32

#Python#Django#Development 🌐 Python and Django Full Stack Web Developer Bootcamp Learn to build websites with HTML , CSS , Bootstrap , Javascript , jQuery , Python 3 , and Django! 🌟 4.6 - 43511 votes 💰 $84.99 🗣️: Jose Portilla 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

GitHub Trends

@githubtrending · Post #14941 · 10/07/2025, 13:00

#cplusplus#bindings#python **pybind11** is a tool that helps connect C++ and Python. It allows you to use C++ code in Python and vice versa. This means you can take advantage of C++'s speed and Python's ease of use. **pybind11** is lightweight and easy to use, making it simpler to create Python bindings for C++ code compared to older tools like Boost.Python. It supports many C++ features and works on multiple platforms, including Windows, Linux, and macOS. Using **pybind11** can make your programs smaller and faster to compile. https://github.com/pybind/pybind11

12•••5657585960•••100101