/data/venv/python36/bin/python -c "import sys; print(sys.path[len(sys.path)-1])"
from kafka import TopicPartition, KafkaConsumer
KAFKA_HOST='localhost:32780,localhost:32781,localhost:32782'
consumer = KafkaConsumer(bootstrap_servers=KAFKA_HOST)
print("Connect to", KAFKA_HOST)
msg = next(consumer)
print(msg)
consumer.close()
find . -newermt "$(date -d "-2 days" +"%Y-%m-%d %k:%M:%S")" ! -newermt "$(date -d "-1 days" +"%Y-%m-%d %k:%M:%S")" -ls
find . -newermt $(date -d "-2 days" +"%Y-%m-%d") ! -newermt "$(date -d "-1 days" +"%Y-%m-%d") -ls
Go to https://download.docker.com/linux/ubuntu/dists/, choose your Ubuntu version, browse to pool/stable/, choose amd64, armhf, arm64, ppc64el, or s390x, and download the .deb file for the Docker CE version you want to install.
Note: To install a nightly package, change the word stable in the URL to nightly. Learn about nightly and test channels.
Install Docker CE, changing the path below to the path where you downloaded the Docker package.
$ sudo dpkg -i /path/to/package.deb
root@work01:~/Загрузки# sudo apt search docker-ce
Сортировка… Готово
Полнотекстовый поиск… Готово
root@work01:~/Загрузки# sudo apt search docker.io
Сортировка… Готово
Полнотекстовый поиск… Готово
docker-doc/disco,disco 18.09.5-0ubuntu1 all
Linux container runtime -- documentation
docker.io/disco,now 18.09.5-0ubuntu1 amd64 [остались файлы настроек]
Linux container runtime
python-docker/disco,disco 3.4.1-4 all
Python wrapper to access docker.io's control socket
python3-docker/disco,disco 3.4.1-4 all
Python 3 wrapper to access docker.io's control socket
ruby-docker-api/disco,disco 1.22.2-1 all
Ruby gem to interact with docker.io remote API
но когда уже запустился контейнер
в оси и sqllite - все норм