在AutoDL上租了卡,安装docker遇到一些问题:
1.执行
sudo docker run hello-world
报错 docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决方法 先查看docker有没有启动,…
问题log
/tmp/ccByifPx.o: In function main:
read.c:(.text0x1a): undefined reference to shm_open
read.c:(.text0xd9): undefined reference to shm_unlink
collect2: error: ld returned 1 exit status
程序代码
#include <stdio.h>
#include <stdlib.h>
#…