huazhi 发表于 2019-2-21 11:26:07

docker 配置centos7解决 docker Failed to get D-Bus conn

# docker run -t -i --privileged centos:latest bash  
# ls /dev/
  
autofs         dm-1hidraw0       loop1               null    ptp3    sg0shm       tty10tty19tty27tty35tty43tty51tty6   ttyS1    usbmon3vcs5   vfio
  
bsg            dm-2hidraw1       loop2               nvram   pts   sg1snapshottty11tty2   tty28tty36tty44tty52tty60ttyS2    usbmon4vcs6   vga_arbiter
  
btrfs-control    dm-3hpet          loop3               oldmemrandomsg2snd       tty12tty20tty29tty37tty45tty53tty61ttyS3    usbmon5vcsa   vhost-net
  
bus            dm-4input         mapper            port    raw   sg3stderr    tty13tty21tty3   tty38tty46tty54tty62uhid   usbmon6vcsa1watchdog
  
console          dm-5kcore         mcelog            ppp   rtc0    sg4stdin   tty14tty22tty30tty39tty47tty55tty63uinput   vcs      vcsa2watchdog0
  
cpu            dm-6kmsg          mem               ptmx    sda   sg5stdout    tty15tty23tty31tty4   tty48tty56tty7   urandomvcs1   vcsa3zero
  
cpu_dma_latencyfd    kvm         net               ptp0    sda1    sg6tty       tty16tty24tty32tty40tty49tty57tty8   usbmon0vcs2   vcsa4
  
crash            fullloop-controlnetwork_latency   ptp1    sda2    sg7tty0      tty17tty25tty33tty41tty5   tty58tty9   usbmon1vcs3   vcsa5
  
dm-0             fuseloop0         network_throughputptp2    sda3    sg8tty1      tty18tty26tty34tty42tty50tty59ttyS0usbmon2vcs4   vcsa6
  
# mkdir /home/test/
  
# mkdir /home/test2/
  
# mount -o bind /home/test/home/test2


页: [1]
查看完整版本: docker 配置centos7解决 docker Failed to get D-Bus conn