Skip to content

CHERIoT-Platform/devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devcontainer

Scripts for creating the CHERIoT dev container

Notes for use in VSCode

The default user in the container is "cheriot" which created as uid:1000 gid:1000, so as to keep compatibility with earlier images. If running VSCode on a Linux system the host uid needs to match this so that the mounted filesystem has the correct access.

An alternative is to use bindfs to remount the directory mapping the uid to 1000. For example assuming your host username is martha (uid:666) then

sudo adduser -u 1000 -g 1000 boris
mkdir /home/cheriot-rtos.mapped
sudo bindfs --map=martha/boris /home/cheriot-rtos /home/cheriot-rtos.mapped

VScode can now be launched with a dev container from /home/cheriot-rtos.mapped

About

Scripts for creating the CHERIoT dev container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published