10 2019 档案

摘要:(flask demo) ➜ flask demo git:(master) ✗ pip install mysqlclient==1.2.5 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. P 阅读全文
posted @ 2019-10-31 15:17 wswang 阅读(2304) 评论(0) 推荐(1) 编辑
摘要:现象描述 起初正常使用pip命令提示如下的错误: cc bundle undefined dynamic_lookup Wl, F. build/temp.macosx 10.14 intel 2.7/_mysql.o L/usr/local/Cellar/mysql connector c/6.1 阅读全文
posted @ 2019-10-31 14:26 wswang 阅读(4535) 评论(0) 推荐(0) 编辑
摘要:现象描述 删除stack的时候没太多提示,但再启动相同的stack会报错,提示网络创建失败;随后使用network ls命令可以看到之前的network还在; 使用docker network rm还是会提示失败。 Failed to remove network ysk0x2yy71gh061cb 阅读全文
posted @ 2019-10-17 15:56 wswang 阅读(1727) 评论(0) 推荐(0) 编辑
摘要:不像Python那样方便,需要先定义一个变量,用来当数组下标;如下: c=0 for file in do filelist[$c]=$file ((c++)) done 如果想读取数组内容,可以使用for循环: for image_name in ${filelist[@]} do if [[ $ 阅读全文
posted @ 2019-10-17 15:23 wswang 阅读(393) 评论(0) 推荐(0) 编辑
摘要:现象描述 使用docker build一个镜像的时候,提示下面的错误: ➜ docker build t image_name f xxx.dockerfile . error checking context: 'can't stat '/Users/wang/Workspace/db/.gitk 阅读全文
posted @ 2019-10-17 15:22 wswang 阅读(4516) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示