Giter Club home page Giter Club logo

docker_utils's Introduction

Docker_utils

一些经常使用的docker镜像及构建步骤

log

  • Add realsense-sdk and realsense-ros
  • Add Macbook M1 example, but it still has some issues.

Requirements

Docker demo

How to use

Follow this tutorial (如何优雅的使用Docker?). After preparing these documents: Dockerfile, docker-compose.yml, .env, ros_entrypoint.sh and so on in the docker folder of your project . Using the following command:

cd docker
docker-compose build
docker-compose up

Some issues

xhost +

Macbook M1

需要先安装socatxquartz,用brew install xxx就可以。 之后需要配置xquartz,打开命令:open -a Xquartz使得其能够通过网络连接,在设置->安全性->勾选上允许从网络客户端连接。之后关闭Xquartz,接着命令行中输入:

# 配置socat,命令没有输出,也不能中断,保持运行即可。
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"

# 之后输入:
ifconfig en0
# 看ip地址上是什么,之后修改启动容器时的DISPLAY
export DISPLAY=192.168.0.106:0
# 可以直接在docker-compose.yaml文件修改

之后就能成功运行镜像了,不过还有一些问题。

  • rviz启动不起来,
  • rosdep update没办法更新,一直超时,很奇怪。

Some Docker Repository Packages

Packages Docker-Envs Build status Usage
Faster-lio cuda110-ros-ubuntu20 pass Usage
LARVIO cuda102-ros-ubuntu18 pass Usage
SuMa TODO Usage
SuMa++ TODO Usage

Other materials

  1. docker-tutorial
  2. 实现Mac主机上的Docker容器中的图形界面显示(运行GUI应用)

docker_utils's People

Contributors

zhuhu00 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.