当前位置:网站首页>Problems encountered in installing MySQL in docker Ubuntu container
Problems encountered in installing MySQL in docker Ubuntu container
2022-07-01 19:56:00 【A fool carrying bricks】
# After pulling the image
# Start the container Be sure to configure permissions Appoint --privileged=true,
docker run -itd --privileged=true --name=ubuntudemo ubuntu:16.04 /bin/bash
# Otherwise, the error is reported as follows
Setting up mysql-server-5.7 (5.7.36-0ubuntu0.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/244/fd/0: Permission denied
Cannot stat file /proc/244/fd/1: Permission denied
Cannot stat file /proc/244/fd/2: Permission denied
Cannot stat file /proc/244/fd/3: Permission denied
Cannot stat file /proc/244/fd/4: Permission denied
Cannot stat file /proc/244/fd/5: Permission denied
Cannot stat file /proc/244/fd/6: Permission denied
Cannot stat file /proc/244/fd/7: Permission denied
Cannot stat file /proc/244/fd/8: Permission denied
Cannot stat file /proc/244/fd/9: Permission denied
Cannot stat file /proc/244/fd/10: Permission denied
Cannot stat file /proc/244/fd/11: Permission denied
Cannot stat file /proc/244/fd/12: Permission denied
Cannot stat file /proc/244/fd/13: Permission denied
Cannot stat file /proc/244/fd/14: Permission denied
Cannot stat file /proc/244/fd/15: Permission denied
Cannot stat file /proc/244/fd/16: Permission denied
Cannot stat file /proc/244/fd/17: Permission denied
Cannot stat file /proc/244/fd/18: Permission denied
Cannot stat file /proc/244/fd/19: Permission denied
Cannot stat file /proc/244/fd/20: Permission denied
Cannot stat file /proc/244/fd/21: Permission denied
Cannot stat file /proc/244/fd/22: Permission denied
Cannot stat file /proc/244/fd/23: Permission denied
Cannot stat file /proc/244/fd/24: Permission denied
Cannot stat file /proc/244/fd/25: Permission denied
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libfcgi-perl (0.78-2build1) ...
Setting up libhtml-tagset-perl (3.20-3) ...
Setting up mysql-server (5.7.36-0ubuntu0.18.04.1) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libio-html-perl (1.001-1) ...
Setting up libhtml-parser-perl (3.72-3build1) ...
Setting up libcgi-pm-perl (4.38-1) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libhtml-template-perl (2.97-1) ...
Setting up libcgi-fast-perl (1:2.13-1) ...
Setting up libhttp-message-perl (6.14-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
[email protected]:/#
# install mysql There may be a mistake
# MYSQL Login time ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket
# terms of settlement
mkdir -p /var/run/mysqld
chown mysql /var/run/mysqld/
service mysql restart
# details May refer to https://blog.csdn.net/huliqi789/article/details/120989539
边栏推荐
- Axure does not display catalogs
- servlet知识点
- Hls4ml reports an error the board_ part definition was not found for tul. com. tw:pynq-z2:part0:1.0.
- Related concepts of cookies and sessions
- 振弦采集模块测量振弦传感器的流程步骤
- SQL getting started plan-1-select
- mysql 報錯 Can‘t create table ‘demo01.tb_Student‘ (errno: 150)*
- Realize pyramids through JS (asterisk pyramid, palindrome symmetric digital pyramid)
- Difference between redo and undo
- 集合对象值改变NULL值对象
猜你喜欢

SQL 入门计划-1-选择

STC 32位8051单片机开发实例教程 二 I/O工作模式及其配置

自定义插入页面标签以及实现类似通讯录的首字母搜索
![[research materials] national second-hand housing market monthly report January 2022 - Download attached](/img/c8/a205ddc2835c87efa38808cf31f59e.jpg)
[research materials] national second-hand housing market monthly report January 2022 - Download attached

Why has instagram changed from a content sharing platform to a marketing tool? How do independent sellers use this tool?

解决VSCode下载慢或下载失败的问题

【AI服务器搭建】CUDA环境

HLS4ML进入方法

Process steps of vibrating wire acquisition module for measuring vibrating wire sensor

GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速
随机推荐
Bao, what if the O & M 100+ server is a headache? Use Xingyun housekeeper!
CMU AI PhD first year summary
Graduation season | Huawei experts teach the interview secret: how to get a high paying offer from a large factory?
After studying 11 kinds of real-time chat software, I found that they all have these functions
The large list set is divided into multiple small list sets in equal proportion
Detailed configuration of network security "Splunk" in national vocational college skills competition
[untitled]
Image acquisition and playback of coaxpress high speed camera based on pxie interface
js三元表达式复杂条件判断
【蓝桥杯Web】2022年第十三届蓝桥杯Web大学组国赛真题解析
SQL 入门计划-1-选择
GC garbage collection
Hls4ml entry method
Unreal Engine packaging project
使用 Kibana Timelion 进行时间序列分析
C#联合halcon应用——大华相机采集类
STC 32位8051单片机开发实例教程 三 程序编译设置与下载
对象的创建
开发那些事儿:EasyCVR平台添加播放地址鉴权功能
windows环境 redis安装和启动(后台启动)